aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_state.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* playlist: increase playlist version after loading stateMax Kellermann2009-02-041-0/+2
| | | | | | After the state file has been loaded, the playlist version is still "1", and "plchanges 1" returns the whole playlist. Fix this by increasing the playlist version after the state file has been loaded.
* playlist: renamed global "playlist" variable to "g_playlist"Max Kellermann2009-02-041-5/+6
| | | | | | | Export the "g_playlist" variable, and pass it to all playlist functions. This way, we can split playlist.c easier into separate parts. The code which initializes the singleton variable is moved to playlist_global.c.
* playlist: moved code to playlist_state.cMax Kellermann2009-02-041-0/+175
Moved everything related to saving or loading the playlist from/to the state file to playlist_state.c.