#102: exception Not_found with crossfade
------------------------+---------------------------------------------------
 Reporter:  karye       |       Owner:  admin    
     Type:  Bugs        |      Status:  new      
 Priority:  1           |   Milestone:  0.3.7    
Component:  Liquidsoap  |     Version:  0.3.6+svn
 Keywords:              |         Mac:  0        
    Other:  0           |     Freebsd:  0        
    Linux:  1           |  
------------------------+---------------------------------------------------
 This basic script works only when disabling crosfade.
 It used to work before...

 {{{
 #!/usr/bin/liquidsoap

 # Log dir
 set( "log.file.path", "/var/log/liquidsoap/radio.log" )
 set( "log.level", 5 )

 # Some more music in mp3 and mp4 (aac)
 intro = single( "/home/radioclave2/salsa/intro/intro.mp3" )
 loop = playlist.safe( "/home/radioclave2/playlists/loop.m3u" )
 normal = playlist.safe( "/home/radioclave2/playlists/sam.m3u" )
 djlist = playlist( mode = "normal",
 "/home/radioclave2/playlists/djlist4.m3u" )

 # The security
 radio = fallback( track_sensitive = false, [djlist, normal] )

 # Crossfading
 def crossfade( source )
         def f( previous, next )
                 add( normalize = false,
                 [ sequence( [ blank( duration = 5.),
                 fade.in( duration = 15., next ) ] ),
                 fade.out( duration = 15., previous ) ] )
         end
         cross(duration=15., f, source)
 end

 #radio = crossfade( radio )

 # Stream it out
 output.icecast.mp3(     host = "localhost", port = 8005, password =
 "xxxx",
                         bitrate = 128, samplerate = 44100,
                         mount = "Radio", genre = "Salsa",
                         url = "http://radioclave.se";, description = "Radio
 Clave",
                         radio )

 }}}

 {{{
 2008/02/25 18:07:03 >>> LOG START
 2008/02/25 18:07:03 [protocols.external:3] Didn't find "ufetch"
 2008/02/25 18:07:03 [protocols.external:3] Found "/usr/bin/wget"
 2008/02/25 18:07:03 [main:3] Liquidsoap 0.3.6+svn
 2008/02/25 18:07:03 [decoder:4] Trying WAV decoder for
 "/home/radioclave2/salsa/intro/intro.mp3"
 2008/02/25 18:07:03 [decoder:4] Trying VORBIS decoder for
 "/home/radioclave2/salsa/intro/intro.mp3"
 2008/02/25 18:07:03 [decoder:4] Trying MP3 decoder for
 "/home/radioclave2/salsa/intro/intro.mp3"
 2008/02/25 18:07:03 [format.mp3:4] open
 "/home/radioclave2/salsa/intro/intro.mp3"
 2008/02/25 18:07:03 [format.mp3:4] close
 "/home/radioclave2/salsa/intro/intro.mp3"
 2008/02/25 18:07:03 [single:3] "/home/radioclave2/salsa/intro/intro.mp3"
 is static, resolving once for all...
 2008/02/25 18:07:03 [threads:3] Created thread "event queue 1" (1 total)
 2008/02/25 18:07:03 [threads:3] Created thread "root" (2 total)
 2008/02/25 18:07:03 [root:3] Waking up active nodes...
 2008/02/25 18:07:03 [source:4] src_2847 gets up
 2008/02/25 18:07:03 [source:4] src_2845 gets up
 2008/02/25 18:07:03 [source:4] src_2839 gets up
 2008/02/25 18:07:03 [source:4] src_2837 gets up
 2008/02/25 18:07:03 [djlist4(dot)m3u:3] Loading playlist...
 2008/02/25 18:07:03 [djlist4(dot)m3u:3] No mime type specified, trying
 autodetection.
 2008/02/25 18:07:03 [playlist parser:4] Trying audio/x-scpls parser
 2008/02/25 18:07:03 [playlist parser:4] Trying audio/x-mpegurl parser
 2008/02/25 18:07:03 [djlist4(dot)m3u:3] Playlist treated as format
 audio/x-mpegurl
 2008/02/25 18:07:03 [decoder:4] Trying WAV decoder for
 "/home/radioclave2/salsa/maria/AAAMYST/Se rompieron los term\243metros
 (2001) - El paso de encarnaci\243n.mp3"
 2008/02/25 18:07:03 [decoder:4] Trying VORBIS decoder for
 "/home/radioclave2/salsa/maria/AAAMYST/Se rompieron los term\243metros
 (2001) - El paso de encarnaci\243n.mp3"
 2008/02/25 18:07:03 [decoder:4] Trying MP3 decoder for
 "/home/radioclave2/salsa/maria/AAAMYST/Se rompieron los term\243metros
 (2001) - El paso de encarnaci\243n.mp3"
 2008/02/25 18:07:03 [format.mp3:4] open
 "/home/radioclave2/salsa/maria/AAAMYST/Se rompieron los term\243metros
 (2001) - El paso de encarnaci\243n.mp3"
 2008/02/25 18:07:03 [format.mp3:4] close
 "/home/radioclave2/salsa/maria/AAAMYST/Se rompieron los term\243metros
 (2001) - El paso de encarnaci\243n.mp3"
 2008/02/25 18:07:03 [djlist4(dot)m3u:4] queue length 0+=1323000 (rid 2)
 2008/02/25 18:07:03 [decoder:4] Trying WAV decoder for
 "/home/radioclave2/salsa/maria/AAAMYST/Hablando en serio (2006) -
 Comun\237cate.mp3"
 2008/02/25 18:07:03 [decoder:4] Trying VORBIS decoder for
 "/home/radioclave2/salsa/maria/AAAMYST/Hablando en serio (2006) -
 Comun\237cate.mp3"
 2008/02/25 18:07:03 [decoder:4] Trying MP3 decoder for
 "/home/radioclave2/salsa/maria/AAAMYST/Hablando en serio (2006) -
 Comun\237cate.mp3"
 2008/02/25 18:07:03 [format.mp3:4] open
 "/home/radioclave2/salsa/maria/AAAMYST/Hablando en serio (2006) -
 Comun\237cate.mp3"
 2008/02/25 18:07:03 [format.mp3:4] close
 "/home/radioclave2/salsa/maria/AAAMYST/Hablando en serio (2006) -
 Comun\237cate.mp3"
 2008/02/25 18:07:03 [djlist4(dot)m3u:4] queue length 1323000+=1323000 (rid
 3)
 2008/02/25 18:07:03 [source:4] src_2835 gets up
 2008/02/25 18:07:03 [sam(dot)m3u:3] Loading playlist...
 2008/02/25 18:07:03 [sam(dot)m3u:3] No mime type specified, trying
 autodetection.
 2008/02/25 18:07:03 [playlist parser:4] Trying audio/x-scpls parser
 2008/02/25 18:07:03 [playlist parser:4] Trying audio/x-mpegurl parser
 2008/02/25 18:07:03 [sam(dot)m3u:3] Playlist treated as format
 audio/x-mpegurl
 2008/02/25 18:07:03 [threads:1] thread "root" aborts with exception
 Not_found !
 2008/02/25 18:07:03 [main:3] Shutdown started!
 2008/02/25 18:07:06 [main:3] Cleaning downloaded files...
 2008/02/25 18:07:06 >>> LOG END
 }}}

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/102>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !

Répondre à