John Maguire
341dc7326f
Reformat all C++
2020-09-22 14:56:06 +01:00
Chocobozzz
50b7b7d889
Make format after update to avoid conflicts
2014-10-15 21:57:57 +02:00
Chocobozzz
8279f21251
Revert "Make format"
...
This reverts commit 17b1e9fbe6
.
2014-10-15 21:55:03 +02:00
Chocobozzz
17b1e9fbe6
Make format
2014-10-15 20:55:24 +02:00
Arnaud Bienner
78804b12c6
Use a save dialog option instead of quick change menu.
...
This is less confusing IMO. The dialog will shown up only if users decided to in the preferences, so that will not bother users who don't need this.
This reuses lot of things from Alan contribution from #4484
2014-10-07 00:29:46 +02:00
Gavin Howard
9141cd65bc
Fixes requested by ArnaudBienner.
2014-08-19 13:26:00 -06:00
Gavin Howard
f41bebbeb2
Ran 'make format' on my patch.
2014-08-18 09:56:01 -06:00
Gavin Howard
c026b599b4
Finish the last of my Playlist path preferences patch.
2014-08-13 22:47:26 -06:00
Gavin Howard
a0bbe2cfaf
Quick try to get metadata working on XSPF and M3U.
2014-08-13 22:47:26 -06:00
Gavin Howard
0efb23994d
Hopefully this finishes the path part of playlist preferences.
2014-08-13 22:47:26 -06:00
Alan Briolat
7a46629d97
Fix a stupid missed semicolon
...
I appear to be suffering from too much Python...
2014-08-12 21:36:00 +01:00
John Maguire
054749b690
Merge pull request #4479 from alanbriolat/playlist-path-separators
...
Always convert path separators when reading playlists (fixes #1838 )
2014-08-12 14:30:59 +02:00
Alan Briolat
c02ea88bfe
Always convert path separators when reading playlists ( fixes #1838 )
2014-08-12 13:01:59 +01:00
Alan Briolat
a0c890592f
Fix detection of parent-relative paths in playlist saving
...
File or directory names containing ``..`` caused saved playlists to
contain absolute paths instead of relative paths even when the relative
path was "safe". This changes the detection to be more strict.
Potentially related to #4463 .
2014-08-12 11:40:20 +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
David Sansome
a004d66f3d
Make the playlist parser recognise URLs with schemes of only 2 characters (eg, di://). Fixes issue 3452
2013-01-27 14:53:20 +00:00
David Sansome
d5412d3800
Use QUrl::fromUserInput to decode URLs in playlists if they look like they're encoded. Fixes issue 3309
2012-11-23 21:51:22 +11:00
David Sansome
ad3483e86a
Treat spotify: URIs properly when loading playlists. Fixes issue 1715
2012-01-29 15:32:49 +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
7548919bc1
Remove the resolvers for now - they don't work properly and ought to use the global search.
2011-11-27 22:15:28 +00:00
John Maguire
2bda4966fc
Basic working use of resolvers for XSPF playlists.
2011-07-28 17:33:58 +02: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
507c5e2632
Change the fields in Song from seconds to nanoseconds
2011-02-13 18:34:30 +00:00
Paweł Bara
4f7e804638
library: watcher now updates CUE associated songs + ignores the not-CUE-associated songs in a CUE sheet
...
CueParser: properly update length for the last song from every FILE in multifile CUE sheet
new 'playlist_path' argument in the 'Load' part of PlaylistParser's API
2011-01-11 23:09:59 +00:00
Paweł Bara
da5f941333
consider .cues when scanning the library
...
persist the new 'beginning' marker of songs
fixed a bug where %allsongstables script would not update the attached databases
2010-12-28 15:36:01 +00:00
David Sansome
eca62e037b
Don't re-read song tags from files while loading a playlist if they're already avaiable in the library. Fixes issue #1165
2010-12-25 14:41:31 +00:00
David Sansome
a739ff2714
Fix playlist parser tests
2010-12-11 11:07:00 +00:00
David Sansome
08b2bcc816
Always write URLs in XML based playlists, instead of URLs of relative paths. Also load playlist items from the library if possible. Fixes issue #1054
2010-12-11 10:35:07 +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
02d01b1314
PLS playlists aren't really INI files - they don't follow the same rules with escaping characters, so parse them the old fashioned way.
2010-06-15 17:34:00 +00:00
David Sansome
b487ec00ef
GUI for saving playlists
2010-05-22 22:20:00 +00:00
David Sansome
06c6bebe15
Support for saving .pls files
2010-05-22 21:27:51 +00:00
David Sansome
211ae65e3d
.pls parser. Fixes issue #302
2010-05-22 21:11:22 +00:00
David Sansome
c9c44ca592
Move the playlist parsers to another directory, and add a PlaylistParser class that magically uses the right parser.
2010-05-22 20:06:19 +00:00