Commit Graph

85 Commits

Author SHA1 Message Date
craig.p.drummond@gmail.com
71691c6658 Reduce code 2013-07-04 11:11:38 +00:00
craig.p.drummond@gmail.com
49acb52a34 Always parse cue file if parent artist and album are currently Unknown 2013-07-04 11:11:23 +00:00
craig.p.drummond
d71da78898 Yet more debug :-) 2013-07-03 20:07:56 +00:00
craig.p.drummond
95e3d5dfdd Add some debug info to MPDParseUtils 2013-07-03 19:27:46 +00:00
craig.p.drummond
fbfc646f1a Use album time for playlist duration in artists and albums views 2013-07-03 15:42:39 +00:00
craig.p.drummond
8511f0a28b Better cue sheet support 2013-07-03 15:41:56 +00:00
craig.p.drummond
fb94e58693 Only add cue tracks once 2013-07-03 15:40:06 +00:00
craig.p.drummond
8cced5c283 Attempt to calcualte duration of last track in cue file 2013-07-03 15:39:51 +00:00
craig.p.drummond
9401b83e59 Alays list cue file in listings 2013-07-03 15:38:39 +00:00
craig.p.drummond
850ec24bc7 Only split cue file into tracks if there are more tracks than source files. 2013-07-03 15:38:20 +00:00
craig.p.drummond
a089abc3a4 Get cue file details from source file, if they are missing 2013-07-03 15:37:31 +00:00
craig.p.drummond
0e0242896d For MPD versions 0.17 and above, if Cantata can read a .cue file then it will list each track as a separate entry in the artists and albums views.
BUG: 249
2013-07-02 19:20:40 +00:00
craig.p.drummond
0b7409b729 When scanning library, ignore songs with no filename - looks like the code is probably parsing too many lines, and comming up with an empty song :-( 2013-05-04 11:08:01 +00:00
craig.p.drummond
970b9d93d5 Remove stream name from url - so that it is not shown in tooltip 2013-04-27 15:24:08 +00:00
craig.p.drummond
c1f5003286 List untagged files in main 'artists'/'albums' views. Attempt to guess the tags based upon the filename/folder. e.g. $artist/$album/$trackNo - $trackTitle 2013-04-23 16:55:09 +00:00
craig.p.drummond
10b2c31c5d Show next track in tooltip of next track button. (Only valid whilst playing) 2013-04-22 19:44:32 +00:00
craig.p.drummond
e57834f138 Set song type when we parse MPD resonse 2013-03-22 20:57:52 +00:00
craig.p.drummond
7b5e579f87 Always use name, if set 2013-03-20 20:13:08 +00:00
craig.p.drummond
da3ccb81d9 Add stream name to fragment part of URL sent to MPD. This way, when the playqueue listing is received back from MPD, the name can be determined. 2013-03-19 19:29:24 +00:00
craig.p.drummond
4756423ca8 Only parse file if name is empty 2013-03-19 19:24:49 +00:00
craig.p.drummond
c60604502f Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
fbe6f03408 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond@gmail.com
1a59a7aaf7 Only set title from file, if title is empty! 2013-01-16 12:03:43 +00:00
craig.p.drummond
e5e11aa334 For streams, use filename part of path as track title. 2013-01-15 22:08:43 +00:00
craig.p.drummond
e0464b16a9 Only fill tags if we actually have a song - otherwise infoview loads wiki of 'Unknown'!!! 2013-01-12 08:30:17 +00:00
craig.p.drummond
3d1835bdaa Only guess tags / fill empty for non-stream songs 2013-01-08 19:26:00 +00:00
craig.p.drummond
45398db407 Fix decoding of Cantata HTTP stream URLs. 2012-12-30 21:52:11 +00:00
craig.p.drummond
815ed42af3 Need to set key (used to group albums) AFTER guessing tags and filling empty fields.
(This was accidentaly reverted by r1759)
2012-12-15 17:39:32 +00:00
craig.p.drummond
04067dd520 Import initial cover download dialog. This is so that trunk actually compiles!
THIS IS NOT FINISHED, NOT EVEN SLIGHTLY!!!
2012-12-15 12:39:45 +00:00
craig.p.drummond
e1c04ca76a Need to set key (used to group albums) AFTER guessing tags and filling empty fields. 2012-12-14 09:10:49 +00:00
craig.p.drummond
ab919e6c48 Ensure we ALWAYS guess tags for untagged playqueue items 2012-12-13 19:53:22 +00:00
craig.p.drummond
1cdb0ace8a For playqueue items, if we only have a filename, and no artist, etc, then attempt to ascertain artist, album, title, and track number from the filename. These will be extracted if the filename has the following pattern:
"%artist%/%album%/%track% %title%"
Otherwise, if we cannot extract all of these, just set the title to the filename without path.
BUG:138
2012-12-10 19:54:34 +00:00
craig.p.drummond@gmail.com
e4e1bbf407 Handle UTF-8 playlist names.
BUG:109
2012-10-15 11:11:55 +00:00
craig.p.drummond@gmail.com
67e6bac8d9 Move most of Utils into support lib 2012-10-08 11:22:54 +00:00
craig.p.drummond@gmail.com
e181289b48 Set Artist, AlbumArtist, and Album of cue files to that of assigned album.
BUG:79
2012-09-10 12:07:19 +00:00
craig.p.drummond
005e1e28a3 D'oh!!! 2012-09-03 19:06:39 +00:00
craig.p.drummond
86a9b9db5c Reduce number of translations 2012-09-03 19:05:04 +00:00
craig.p.drummond
5c7d22c72d Initial work on Qt translations. Commented out for the moment, as xgettext is crashing!!! 2012-09-02 20:13:00 +00:00
craig.p.drummond@gmail.com
c7006bfaab Cleanup 2012-08-31 11:44:06 +00:00
craig.p.drummond@gmail.com
320d385b60 HTTP paths should also be fixed to end with / 2012-08-23 11:05:24 +00:00
craig.p.drummond@gmail.com
b249b21b91 If the date string recieved from MPD is longer than 4 characters, just use the first 4 - as we are only interested in the year. 2012-08-23 11:04:34 +00:00
craig.p.drummond@gmail.com
7f43f2bfd8 Fix issue with filenames containing quotes for playlist items
BUG:58
2012-08-20 11:09:01 +00:00
craig.p.drummond
417102c325 Fix handling of filename's with quotes.
BUG:58
2012-08-19 10:56:51 +00:00
craig.p.drummond
5917238c34 If 'Music folder' in settings dialog is a http folder (path starts with http://), then attempt to download cover-art from the http server. 2012-07-10 19:43:58 +00:00
craig.p.drummond
ce59bd7a36 - Use better names for library/folder loading signals.
- Don't pass dbDateTime into load function, instead store dbDateTime in connection and use this.
- Don't store db time all over the place in the GUI thread, turn MPDStats into a singleton like MPDStatus and use that
2012-06-27 17:05:48 +00:00
craig.p.drummond
c1c61ce0d4 Make TagLib optional. 2012-06-18 18:22:58 +00:00
craig.p.drummond
5bff55a584 Support MPD queue functionality. Add an 'Add With Priority' to menu of library, etc, views. Add a 'Set Priority' to play queue. Requires MPD 0.17.0 or newer. 2012-06-15 19:05:14 +00:00
craig.p.drummond@gmail.com
692bbf6590 Show playlist files in library and album views.
BUG:27
2012-06-12 11:16:37 +00:00
craig.p.drummond
21d3167bbf Disable volume control if MPD returns a volume of -1 - as it does when the mixer is disabled.
BUG:23
2012-06-10 13:45:12 +00:00
craig.p.drummond@gmail.com
7a489e74d2 Add support for listing playlist files in folder view.
BUG: 19
2012-06-06 11:14:29 +00:00