Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | playlist_song: pass const song to _check_load_song() | Max Kellermann | 2012-08-16 | 1 | -1/+1 |
| | |||||
* | playlist_song: fix user-after-free bug | Max Kellermann | 2012-08-16 | 1 | -1/+3 |
| | |||||
* | playlist_song: use map_to_relative_path() | Max Kellermann | 2012-08-14 | 1 | -4/+4 |
| | |||||
* | playlist_song: improve const-correctness | Max Kellermann | 2012-08-14 | 1 | -5/+4 |
| | |||||
* | playlist_song: move code to playlist_check_load_song() | Max Kellermann | 2012-08-14 | 1 | -23/+23 |
| | |||||
* | mapper: add mapper_get_music_directory() | Max Kellermann | 2012-02-13 | 1 | -3/+1 |
| | | | | Shortcut for map_directory_fs(db_get_root()). | ||||
* | playlist_song: allow references to songs outside the musicdir | Max Kellermann | 2011-10-06 | 1 | -0/+6 |
| | | | | | | When we have an absolute path that's not inside the music directory, allow loading it anyway, if we're in "secure" mode (i.e. the client is connected via UNIX socket). | ||||
* | Merge branch 'v0.16.x' | Max Kellermann | 2011-10-06 | 1 | -3/+2 |
|\ | | | | | | | | | | | | | | | Conflicts: configure.ac src/player_control.c src/player_thread.c src/playlist_song.c | ||||
| * | playlist_song: fix absolute path support in playlists | Jesús Bravo Álvarez | 2011-10-06 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Right now, a playlist with absolute pathnames can only add songs that are in the same the directory of the playlist or under it. If uri is an absolute pathname and base_uri is set, playlist_check_translate_song() will check that base_uri is a prefix of uri, excluding every other song in the music directory outside base_uri. I think in this case base_uri should be completely ignored (and made NULL) and uri should just be checked against music root directory. | ||||
* | | Merge branch 'v0.16.x' | Max Kellermann | 2011-06-03 | 1 | -1/+8 |
|\| | | | | | | | | | Conflicts: src/decoder/ffmpeg_decoder_plugin.c | ||||
| * | playlist_song: fix playlist files in base music directory | Max Kellermann | 2011-05-09 | 1 | -0/+7 |
| | | | | | | | | | | g_path_get_dirname() returns "." when there is no directory name in the given path. This patch adds a workaround for that. | ||||
| * | playlist_song: fix NULL pointer dereference | Max Kellermann | 2011-05-09 | 1 | -1/+1 |
| | | |||||
* | | copyright year 2011 | Max Kellermann | 2011-01-29 | 1 | -1/+1 |
| | | |||||
* | | playlist_song: add flag "secure" | Max Kellermann | 2010-12-23 | 1 | -5/+7 |
|/ | | | | | | Optionally allow all local files. "Insecure" mode is used for printing playlists. | ||||
* | playlist_song: calculate duration of last CUE track | Max Kellermann | 2010-11-08 | 1 | -0/+8 |
| | |||||
* | playlist_song: fix memory leak | Max Kellermann | 2010-07-25 | 1 | -0/+2 |
| | | | | Free the temporary path string in apply_song_metadata(). | ||||
* | playlist_queue: moved check_translate_song() to playlist_song.c | Max Kellermann | 2010-02-08 | 1 | -0/+139 |