Jonas Kvinge
0c1b6a2a44
Fix setting task blocking library scans
...
TaskManager::SetTaskBlocksLibraryScans() takes the ID of the task.
2021-07-14 10:18:01 +01:00
John Maguire
341dc7326f
Reformat all C++
2020-09-22 14:56:06 +01:00
Jim Broadus
22cfade4a4
organise: Refresh filename after transcode
2020-06-07 05:34:08 +01:00
David Roeca
49876536a5
Resolve #3693 ( #5790 )
...
* bring in playlist updates for potential fix
* define signal to handle organise playlist bugs
* work in progress
* fix wrong signal/slot
* next push forward on handling new song creation
* Reorganize signals/slots; still need to figure out why not all signals are being handled
* Get playlists to work when they're in memory
* more changes to playlist updates
* revert unnecessary changes and finalize fix
2017-07-22 18:57:33 +01:00
Krzysztof Sobiecki
2d2783ab04
Fix copyright notices
2014-12-10 01:25:52 +01:00
John Maguire
64c34f58ae
Merge pull request #4608 from sobkas/src_core_fix
...
Fix the copyright info and formatting in src/podcast and src/core
2014-11-27 15:17:16 +01:00
Andreas
ff172f6ed4
Network remote can now transcode lossless files before sending them to the remote.
...
- It is configurable in the settings.
- Any format can be chosen that is supported by the transcoder.
- The status of the transcoder is send to the remote.
- Transcoder format settings have now a postfix so we can define mutliple transcoder formats and use them separatly. Here one for the normal transcoder and one for the network remote transcode. You can pass the postfix in the constructor.
- Fixed Transcoder crash (was introduced with the gstreamer1.0 merge, decodebin doesn't have a "new-decoded-pad").
- Transcoder emits the output filename as well on "JobComplete" signal
- Transcoder can now convert a file to a temporary file ("AddTemporaryJob")
2014-11-13 22:31:49 +01:00
Krzysztof Sobiecki
39a3b46ead
More copyright info fixes
2014-11-05 17:48:04 +01:00
Krzysztof Sobiecki
0af1470cce
Clean up src/core
2014-11-05 17:48:03 +01:00
Krzysztof Sobiecki
978a91442c
Connect signal to signal
2014-11-05 17:35:14 +01:00
Krzysztof Sobiecki
5045f9b870
Don't use caller in OrganiseDialog
2014-11-05 02:37:44 +01:00
Krzysztof Sobiecki
b89c05048a
Move connect out of emitter
2014-11-05 00:42:56 +01:00
Krzysztof Sobiecki
578c9ad598
Ability to automatically set podcast as listened after sucesfully sending it to a device
2014-11-05 00:42:55 +01:00
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
John Maguire
d309d4ab27
Use c++11 instead of boost where possible.
2014-02-06 16:51:39 +01:00
Arnaud Bienner
a349a96f5a
Avoid having similar filenames when organising songs (number them instead)
2014-02-02 19:28:45 +01:00
Arnaud Bienner
06184cc5fb
Avoid having empty filenames, or filenames with extension only.
...
In this case, keep the original filename.
2014-02-01 03:22:41 +01:00
Krzysztof A. Sobiecki
09d68bf415
Scrub the auto usage, use unique_ptr, use correct types instead of QList
2014-01-28 17:01:14 +01:00
Krzysztof A. Sobiecki
b0a97de603
Use more auto in for statements
2014-01-27 23:59:38 +01:00
Krzysztof A. Sobiecki
f7be18b326
Fixed some problems reported by cpplint.py, changed foreach to for in files touched by me
2014-01-27 23:59:38 +01:00
Krzysztof A. Sobiecki
35060d6916
I accidently break this, nothing to see here
2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki
4944e99d56
Fix copy functionality, break copy of a directory
2014-01-27 23:59:37 +01: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
b873209d39
Remove the <xiphcomment.h> include from song.h so that windows headers don't infect everything else. Also move other bits of song.h into song.cpp, and reduce the number of includes in song.h.
2011-11-28 13:56:55 +00:00
David Sansome
ccb9f8cf94
Use URLs everywhere instead of filenames. Move the URL parsing and song loading code out of individual playlist parsers and into the base class. Fix the playlist parser unit tests.
2011-04-28 12:27:53 +00:00
David Sansome
3eedc916ad
Add a new logging system
2011-04-22 16:50:29 +00:00
David Sansome
ed1a25693c
Add missing licenses to debian/copyright, and add copyright information to each source file
2010-11-20 13:27:10 +00:00
David Sansome
e4f5e97b17
Allow GetSupportedFiletypes to return an error, and make it possible to request a list of supported filetypes at the same time as opening the device for copying - making things much faster on MTP devices.
2010-08-30 12:22:15 +00:00
David Sansome
d7e71ad14a
Fix some little progress calculation bugs
2010-08-30 12:00:11 +00:00
David Sansome
728925097d
Show progress information when transcoding files to copy to a device
2010-08-30 11:36:40 +00:00
David Sansome
ebe237cd40
Codereview comments from r1844
2010-08-29 19:50:06 +00:00
David Sansome
93b35a6379
Clean up transcoded files from /tmp
2010-08-29 19:26:20 +00:00
David Sansome
4b381e00fd
Transcode files when copying them to devices
2010-08-29 19:22:21 +00:00
David Sansome
04e7e26088
Allow devices to report progress information about individual songs back to the Organise object. Implement this for MTP
2010-08-28 21:55:30 +00:00
David Sansome
c0ea45a9c9
Show an error dialog when copying or deleting files failed.
2010-08-14 11:51:50 +00:00
David Sansome
b27238a480
Test whether we can still talk to afc before freeing the lockdownd client (fixes usbmuxd errors once and for all), report afc copy errors, keep track of files that failed to copy to a device, don't attempt to write the itunesdb if there were errors during copying.
2010-08-10 19:42:43 +00:00
David Sansome
5e00eb11de
Pass shared_ptrs to music storage things to the organiser thread so they won't get deleted if the device is disconnected
2010-08-09 21:50:46 +00:00
David Sansome
5517e2a503
Oops, don't need this hack any more
2010-08-01 11:05:14 +00:00
David Sansome
02783b1d5d
Unmount devices from the main thread instead of the organiser thread - fixes a crash when unmounting after copying
2010-08-01 11:01:07 +00:00
David Sansome
b2aba2bac2
Add an option to eject a device after copying files to it. Now with bonus multiple virtual inheritance.
2010-07-25 09:52:29 +00:00
David Sansome
1d5cef0f0d
Set the organise progress to 100% when all files have been copied, but before the device is finalised
2010-07-24 17:40:19 +00:00
David Sansome
b624be9800
Add almost-working support for writing to ipods
2010-07-24 16:58:14 +00:00
David Sansome
62616304d8
Add a MusicStorage interface that can be used to abstract away the details of copying a file to a device.
2010-07-19 19:56:29 +00:00
John Maguire
b4fa694847
Fix crash in file organiser.
2010-07-01 19:10:48 +00:00
David Sansome
2b17a8ee1f
Revert r1344 (the timer tracing), it didn't help
2010-06-25 22:04:24 +00:00
David Sansome
cc6413ab0e
Add tracing to every timer event, might help track down CPU usage...
2010-06-25 08:46:03 +00:00
David Sansome
e1e8866424
Make pausing and resuming library scans come from the task manager, not the organiser.
2010-06-24 22:59:29 +00:00
David Sansome
05b6c8fe71
Allow organising of whole directories, and pause the library watcher while organising is in progress.
2010-06-24 21:46:18 +00:00
David Sansome
f9e3d405cd
Consts and grammar
2010-06-24 18:59:09 +00:00