aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-17CueParser.cxx: Append pregap to previous trackWill Tiffany2-12/+3
Only ignore indexes after first nonzero, preserving pregaps but appending them to the previous track instead of prepending to the current. The first index of the first track is used for the start time regardless of its number. Unneeded bool last_updated removed.
2015-08-23CueParser.cxx: ignore INDEX after first per trackWill Tiffany1-0/+1
Use the first INDEX in each TRACK section, instead of the last, for the start time. This preserves the original CD layout (including gaps between tracks), and avoids skipping sections of songs in more exotic cuesheets (eg musical suite tracks). Fixes 0004355 and 0003359
2015-08-12client/Response: new Client wrapper class for writing responsesMax Kellermann2-12/+18
2015-08-05playlist/embcue: fix last trackxent1-1/+3
2015-03-17*: doxygen fixupsMax Kellermann2-4/+2
2015-03-05PlaylistStream: convert suffix to UTF-8Max Kellermann1-3/+8
2015-03-03*: change C-style prototypes, drop "(void)"Max Kellermann2-3/+3
2015-03-01fs/Path: add method GetSuffix()Max Kellermann1-1/+1
Type-safe wrapper for uri_get_suffix().
2015-01-31decoder/sndfile, ...: update API documentationMax Kellermann2-2/+2
2015-01-26{playlist,input}/despotify: remove defunct pluginMax Kellermann2-170/+0
2015-01-21config/Param: split block-specific attributes to new struct ConfigBlockMax Kellermann3-10/+10
The old struct config_param remains only for top-level string options.
2015-01-21config/Option: convert to strictly-typed enumMax Kellermann1-3/+3
2015-01-21ConfigData: move struct config_param to Param.hxxMax Kellermann2-2/+2
2015-01-01Copyright year 2015Max Kellermann42-42/+42
2014-12-16playlist/embcue: fix filename suffix detectionk441-1/+1
The definition of the playlist_plugin struct member of the embcue plugin was incorrect.
2014-12-09playlist/Print: don't skip non-existent songs in "listplaylist"Max Kellermann1-6/+7
Skipping those songs silently will confuse the client, because commands specifying the song index within a playlist (e.g. playlistdelete) will be out of sync. This copies spl_print()'s behavior to playlist_file_print().
2014-12-08configure.ac: add option to disable CUEMax Kellermann1-0/+2
2014-12-05playlist/soundcloud: drop support for libyajl1Max Kellermann1-35/+4
Require the version 2 which has a more sane API.
2014-12-04playlist, InotifySource, ...: update GLib commentsMax Kellermann3-3/+3
2014-12-04playlist/pls: custom INI parserMax Kellermann2-89/+107
Don't use GLib.
2014-11-21configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann1-1/+1
Simplify the definition of many build options.
2014-11-02playlist/m3u: recognize the file suffix ".m3u8"Max Kellermann2-1/+3
2014-11-01Decoder, Playlist: ignore URI query string for plugin detectionMax Kellermann1-3/+6
Use the new uri_get_suffix() overload that removes the query string.
2014-10-26playlist/m3u: recognize the file suffix ".m3u8"Max Kellermann2-0/+2
2014-10-25SongSticker, playlist/soundcloud: add missing stdlib.h includeMax Kellermann1-0/+1
For free().
2014-10-25playlist/SoundCloud: don't use GLib for string allocationMax Kellermann1-31/+31
2014-10-17playlist/extm3u: strip first line for #EXTM3U detectionMax Kellermann1-2/+6
2014-10-02PlaylistStream: use OpenLocalInputStream()Max Kellermann1-5/+3
2014-10-02PlaylistStream: pass Path instance to playlist_open_path()Max Kellermann3-11/+19
Convert filesystem charset to UTF-8 for playlist_list_open_uri(). This fixes one of many remaining charset bugs.
2014-09-26playlist/embcue: change name string to "embcue"Max Kellermann1-1/+1
The name "cue" was listed twice in "mpd --version".
2014-08-30PlaylistMapper: pass the Storage::MapUTF() result to playlist_open_remote()Max Kellermann1-1/+1
Finally allows loading playlist files on a storage plugin. Commit 297e2747 attempted to implement this, but failed due to this bug.
2014-08-30*: add missing Compiler.h includesMax Kellermann1-0/+1
Necessary for "final" on gcc 4.6.
2014-08-29Tag: use SignedSongTime for the song durationMax Kellermann3-3/+3
2014-08-28DetachedSong: use std::chrono::duration for start_ms and end_msMax Kellermann1-3/+3
2014-08-07TextInputStream: don't stripMax Kellermann2-3/+5
Let the caller decide whether to strip. Only remove \n and \r (end-of-line markers).
2014-08-07util/StringUtil: rename strchug_fast() to StripLeft()Max Kellermann3-5/+5
2014-08-07input/TextInputStream: return char*Max Kellermann3-13/+9
Revert to the old API before commit e9e55b08, removing unnecessary bloat.
2014-07-30playlist/extm3u: use nullptr instead of NULLMax Kellermann1-4/+4
2014-07-12PlaylistSong: always merge tags and LastModifiedMax Kellermann1-12/+2
2014-07-12PlaylistSong, CueParser: don't override Tag::timeMax Kellermann2-11/+0
Now that Song::GetDuration() is used (which considers start_ms and end_ms), we don't need to override the Tag's duration value.
2014-07-09playlist/plugins/DespotifyPlaylistPlugin: fix build failure due to missing ↵Gustavo Zacarias1-0/+1
stdio.h include Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2014-07-09playlist/PlsPlaylistPlugin: fix build failure due to missing stdio.h includeGustavo Zacarias1-0/+1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2014-05-12InputStream: "protect" attributesMax Kellermann1-1/+1
2014-05-11InputStream: add virtual destructorMax Kellermann3-5/+5
Replaces the method Close().
2014-05-11InputStream: convert to classMax Kellermann3-3/+3
2014-05-10PlaylistMapper: use map_spl_utf8_to_fs()Max Kellermann1-10/+2
Eliminates some overhead and some duplicate code, and fixes a serious bug: the old code did not append the ".m3u" suffix, and thus the "load" command was completely broken for stored playlists. D'oh!
2014-02-27Playlist: use the Error library to return errorsMax Kellermann2-16/+24
2014-02-27Playlist*: move to queue/Max Kellermann1-1/+1
2014-02-19cue/CueParser: move to playlist/Max Kellermann4-2/+464
2014-02-18PlaylistRegistry: disable the "pls" plugin without GLibMax Kellermann1-0/+3