Hi Per Gunnarsson, 2015-06-24 9:54 GMT-05:00 Per Gunnarsson <[email protected]>: > Hello again! > > I am trying to use input.lastfm with this script: > > lastfm_stream = fallback ([input.lastfm( > user="kaptensnus", > password="top_secret", > "lastfm://user/kaptensnus"), > single("/home/per/test-mic.wav"), > ]) > > > output.icecast(%vorbis, > port=8000, > host="mustafejen.se", > mount="holk.ogg", > password="difficult_password", > lastfm_stream) > > but I don't seem to get any input from last.fm. > > The log (after loading the plugins) > > 2015/06/24 16:50:35 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz > master. > 2015/06/24 16:50:35 [frame:3] Frame size must be a multiple of 1764 > ticks = 1764 audio samples = 1 video samples. > 2015/06/24 16:50:35 [frame:3] Targetting 'frame.duration': 0.04s = 1764 > audio samples = 1764 ticks. > 2015/06/24 16:50:35 [frame:3] Frames last 0.04s = 1764 audio samples = 1 > video samples = 1764 ticks. > 2015/06/24 16:50:35 [decoder:3] Method "WAV" accepted > "/home/per/test-mic.wav". > 2015/06/24 16:50:35 [single:3] "/home/per/test-mic.wav" is static, > resolving once for all... > 2015/06/24 16:50:35 [threads:3] Created thread "generic queue #1". > 2015/06/24 16:50:35 [threads:3] Created thread "generic queue #2". > 2015/06/24 16:50:35 [threads:3] Created thread "non-blocking queue #1". > 2015/06/24 16:50:35 [threads:3] Created thread "non-blocking queue #2". > 2015/06/24 16:50:35 [threads:3] Created thread "http polling" (1 total). > 2015/06/24 16:50:36 [single_6043:3] Prepared "/home/per/test-mic.wav" > (RID 0). > 2015/06/24 16:50:36 [holk(dot)ogg:3] Connecting mount holk.ogg for > [email protected]... > 2015/06/24 16:50:36 [holk(dot)ogg:3] Connection setup was successful. > 2015/06/24 16:50:36 [threads:3] Created thread "wallclock_main" (2 total). > 2015/06/24 16:50:36 [clock.wallclock_main:3] Streaming loop starts, > synchronized with wallclock. > 2015/06/24 16:50:36 [fallback_6044:3] Switch to single_6043. > 2015/06/24 16:50:46 [single_6043:3] Finished with "/home/per/test-mic.wav". > 2015/06/24 16:50:46 [single_6043:3] Prepared "/home/per/test-mic.wav" > (RID 0). > 2015/06/24 16:50:56 [single_6043:3] Finished with "/home/per/test-mic.wav". > 2015/06/24 16:50:56 [single_6043:3] Prepared "/home/per/test-mic.wav" > (RID 0). > > Only the single gets played. What am I doing wrong this time?
So, most of the input.lastfm code was reverse engineered quite a while ago now.. I'd have to test it but I wouldn't be surprised if that got broken at some point.. Romain ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
