John Maguire
bebd781fdf
Reformat all non-3rd-party C/C++/Objective-C++.
...
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
-style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
John Maguire
71893e4847
Use nullptr instead of NULL everywhere.
2014-02-06 17:29:59 +01:00
Arnaud Bienner
88918d45c5
Update issue 1175:
...
Save rating and statistics in two distinct ways, and let users activate them separately in preferences.
2013-03-30 23:42:29 +01:00
Arnaud Bienner
08d40f5fca
Handle statistics tags apart, and write them to file when they change.
...
Next step: add a preference to activate this (should be deactivated by default IMO).
2013-02-24 17:45:25 +01:00
Arnaud Bienner
ba1a3f45ec
Fix the build
2013-02-23 01:02:36 +01:00
Arnaud Bienner
47c9153fe2
Move everything about reading/writing tags from tagreaderworker to a new tagreader class.
...
Re-activate Song tests.
2013-02-22 23:57:31 +01:00
John Maguire
b3d5c3e6e2
Remove unused variables.
2013-02-12 12:23:29 +01:00
Martin Brodbeck
d05041dfa1
Add support for Opus tags.
2013-01-26 11:18:24 +00:00
Chris Throup
6cb083be30
Read comments from MP4 tags.
2013-01-22 08:58:28 +00:00
Chris Throup
f41d333788
Read and write extra metadata for MP4 tags. Fixes issue 222.
...
Now writes album artist, disc number, composer, compilation and bpm.
Now reads disc number and composer.
Previously read album artist.
Unconfirmed read for compilation and bpm.
2013-01-21 09:16:18 +00:00
John Maguire
919e9215c4
Support indexing files from Skydrive.
2012-12-13 14:27:21 +01:00
John Maguire
62e3e4cb91
Support WMA in cloud services.
2012-12-07 12:07:43 +01:00
John Maguire
951cac2ad6
Use changes API instead of search API in Google Drive.
2012-12-05 14:17:03 +00:00
John Maguire
18c7f3d5ed
Support m4a and flac in dropbox.
2012-11-30 16:56:23 +01:00
John Maguire
90bb00939b
Don't ignore HTTP errors when reading tags from cloud providers.
2012-11-30 16:12:12 +01:00
John Maguire
8e91e42dcc
Add dropbox files locally after tagging and make them playable.
2012-11-29 20:48:34 +01:00
John Maguire
3c9b3d99e6
Read tags from dropbox files.
2012-11-29 20:48:34 +01:00
John Maguire
6c5e831a7d
Remove tag encoding detection as we don't really use it anymore.
2012-11-29 13:41:20 +01:00
John Maguire
1981fd0b7e
Fix minimal build.
2012-11-29 12:17:47 +01:00
John Maguire
bd899b382d
Range-based for loops not supported in GCC 4.4.
2012-11-28 17:34:54 +01:00
John Maguire
9c7a3ab105
Rename google drive tagging methods to more appropriate generic names.
2012-11-28 16:34:10 +01:00
John Maguire
210f978188
Rename GoogleDriveStream -> CloudStream.
2012-11-28 16:25:57 +01:00
John Maguire
db586ca00e
Read tags from Ubuntu One files and add to local database.
2012-11-28 14:43:03 +01:00
Veniamin Gvozdikov
3542357636
Fix linking clementine-tagreader on FreeBSD.
...
Fixes issue #3245
2012-10-31 13:30:23 +01:00
John Maguire
94878b4bd2
Slightly hacky support for AAC on Google Drive.
2012-07-31 17:57:17 +02:00
John Maguire
e06ae8a282
Support reading OGG & FLAC files from Google Drive.
2012-07-31 15:18:14 +02:00
John Maguire
08286102da
Precache the first and last parts of Google Drive MP3s to reduce the
...
number of requests when using accurate tagging.
2012-07-30 13:41:29 +02:00
David Sansome
9653a45f66
Read Google Drive metadata in the tagreader worker process
2012-07-28 19:35:12 +01:00
Arnaud Bienner
fbda1f9489
Add a debug message when TagLib can't read a file
2012-04-25 00:10:40 +02:00
David Sansome
b53578c490
Don't reset a song's rating back to 0 if it was edited in the EditTagDialog
2012-03-04 13:36:22 +00:00
David Sansome
f213813e71
Load cover art from MP4 files
2012-01-29 19:51:58 +00:00
David Sansome
694ffe42df
Don't send messages to a handler in the time between its socket closing and its process ending. Fixes a race condition that would result in a tag loading operation never completing. Fixes issue 2616
2012-01-22 18:53:17 +00:00
David Sansome
84a1ae2f87
Add some debugging code to the tagreader worker that makes it crash randomly.
2012-01-22 18:53:17 +00:00
David Sansome
3e0f252b34
Exit worker processes when their sockets are closed, and make sure the main app closes sockets when exiting - fixes a crash dialog on Windows.
2012-01-08 16:35:01 +00:00
David Sansome
9be641ee87
The external tagreader mostly works now:
...
* Make TagReaderClient a singleton until it's easier to pass dependencies around
* Add a WaitForSignal() that uses a local event loop to wait for a signal to be emitted
* Add a WaitForFinished() to _MessageReplyBase that blocks using a semaphore
* Add blocking versions of all TagReaderClient methods
* Use the TagReaderClient everywhere that Song::InitFromFile and friends were used before
2012-01-07 00:26:07 +00:00
David Sansome
9041117867
Move everything around in the source tree - static libraries and external binaries now go in "ext/". Add a generic worker pool.
2012-01-05 23:25:13 +00:00