Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liquidsoap keep old playlist with deleted files instead of playing blank #196

Closed
giflw opened this issue Nov 7, 2014 · 1 comment
Closed

Comments

@giflw
Copy link

giflw commented Nov 7, 2014

liquidsoap version: 1.1.1

When I use a directory as playlist and delete all files, liquidsoap keep playing instead of playing blank.

pls = playlist(mode="normal", reload=1, reload_mode="rounds",  "/tmp/music")
out(pls)

Log:

2014/11/06 22:35:30 >>> LOG START
2014/11/06 22:35:30 [protocols.external:3] Found "/usr/bin/wget".
2014/11/06 22:35:30 [main:3] Liquidsoap 1.1.1
2014/11/06 22:35:30 [main:3] Using: graphics=[distributed with Ocaml] pcre=7.0.2 dtools=0.3.1 duppy=0.5.1 duppy.syntax=0.5.1 cry=0.2.2 mm=0.2.1 xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.4.5 vorbis=0.6.1 opus=0.1.0 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.2 shine=0.1.1 gstreamer=0.2.0 frei0r=0.1.0 voaacenc=0.1.0 theora=0.3.0 schroedinger=0.1.0 gavl=0.1.5 bjack=0.1.4 alsa=0.2.1 ao=0.2.0 samplerate=0.1.2 taglib=0.3.1 magic=0.7.3 camomile=0.8.4 inotify=1.0 faad=0.3.2 soundtouch=0.1.7 portaudio=0.2.0 pulseaudio=0.1.2 ladspa=0.1.4 dssi=0.1.1 sdl=0.9.1 camlimages=4.0.0 lo=0.1.0 yojson=1.1.7 gd=1.0a5
2014/11/06 22:35:30 [dynamic.loader:3] Could not find dynamic module for fdkaac encoder.
2014/11/06 22:35:30 [dynamic.loader:3] Could not find dynamic module for aacplus encoder.
2014/11/06 22:35:30 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/voaacenc.cmxs.
2014/11/06 22:35:30 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/cry.cmxs.
2014/11/06 22:35:30 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac.cmxs.
2014/11/06 22:35:30 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/lame.cmxs.
2014/11/06 22:35:30 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ogg.cmxs.
2014/11/06 22:35:30 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/mad.cmxs.
2014/11/06 22:35:30 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/faad.cmxs.
2014/11/06 22:35:30 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac_ogg.cmxs.
2014/11/06 22:35:30 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/pulseaudio.cmxs.
2014/11/06 22:35:30 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/taglib.cmxs.
2014/11/06 22:35:30 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/vorbis.cmxs.
2014/11/06 22:35:30 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2014/11/06 22:35:30 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2014/11/06 22:35:30 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2014/11/06 22:35:30 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2014/11/06 22:35:30 [threads:3] Created thread "generic queue #1".
2014/11/06 22:35:30 [threads:3] Created thread "generic queue #2".
2014/11/06 22:35:30 [music:3] Loading playlist...
2014/11/06 22:35:30 [music:3] Playlist is a directory.
2014/11/06 22:35:30 [music:3] Successfully loaded a playlist of 2 tracks.
2014/11/06 22:35:30 [threads:3] Created thread "wallclock_pulse" (1 total).
2014/11/06 22:35:30 [clock.wallclock_pulse:3] Streaming loop starts, synchronized by active sources.
2014/11/06 22:35:30 [decoder:3] Method "MAD" accepted "/tmp/music/Clint_Eastwood.mp3".
2014/11/06 22:35:30 [mksafe:3] Switch to safe_blank.
2014/11/06 22:35:30 [decoder:3] Method "MAD" accepted "/tmp/music/I_dont_wanna_miss_a_thing-Armageddon_soundtrack.mp3".
2014/11/06 22:35:30 [music:3] Prepared "/tmp/music/Clint_Eastwood.mp3" (RID 1).
2014/11/06 22:35:30 [mksafe:3] Switch to music with transition.
2014/11/06 22:39:58 [music:3] Finished with "/tmp/music/Clint_Eastwood.mp3".
2014/11/06 22:39:58 [music:3] Prepared "/tmp/music/I_dont_wanna_miss_a_thing-Armageddon_soundtrack.mp3" (RID 2).

[...]

2014/11/06 23:54:42 [music:3] Loading playlist...
2014/11/06 23:54:42 [music:3] Playlist is a directory.
2014/11/06 23:54:42 [music:3] Got an empty list: keeping the old one.
@giflw giflw changed the title Liquidsoap keep old playlist instead of playing blank Liquidsoap keep old playlist with deleted files instead of playing blank Nov 7, 2014
@toots
Copy link
Member

toots commented May 13, 2015

Same as #203, closing this one.

@toots toots closed this as completed May 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants