yomguy / DeeFuzzer

Light and instant media streaming client for web radios and TVs written in Python
https://github.com/yomguy/DeeFuzzer
GNU General Public License v3.0
141 stars 31 forks source link

OSCController object has no attribute #99

Closed robnoordt closed 4 years ago

robnoordt commented 4 years ago

Hi,

Starting Deefuzzer as daemon works without problems: deefuzzer /etc/DeeFuzzer/deefuzzer.yaml & Ok, one stream but I like to have more streams. This should be possible in Deefuzzer. So editing the deefuzzer_multiple.yaml file for two stations. > deefuzzer: log: "/var/log/deefuzzer/multi.log" m3u: "/tmp/station.m3u" stationdefaults: control: mode: 1 port: 16001 jingles: dir: "/media/DRIVE2GO/jinglesRadioRenzo" mode: 1 shuffle: 1 station:

<

Also, browsing to localIP:16001 does not work. No page is bean showed here. Any suggestions what’s going wrong here?

yomguy commented 4 years ago

The OSCController is only an interface to control DeeFuzzer by OSC messages. In your configuration, 2 same ports are assigned for 2 different channels which is not allowed. Please use 2 different OSC ports or disable the controller setting each <control><mode> to 0.

robnoordt commented 4 years ago

Hi,

Ok, changed to monitor 0 and monitor1. Thad works. Great! Two other issues; When Also, browsing to localIP:16001 does not work. No page is bean showed here. And, one other thing; when streaming this two (icecast)stations(in both cases it is shuffling a directory with mp3 files) It stops playing after one or two tracks.

Wat could be a reason and a solution for this two cases? Suggestions?

robnoordt commented 4 years ago

Ok, about what I reported above; In the beginning I see that Win amp gives the error message when the streaming of MP3 files stops. Error synchronizing http: // streamsite. Is something going wrong with synchronization? And strange that this occurs when changing the played songs. It also happens connecting by internal network. That says, I think, nothing to do whit band wide.

robnoordt commented 4 years ago

For a moment it seemed that I had solved the problem. Abought tracks do not play automatically consecutive. I made a m3u playlist with the vlc mediaplayer and put it in the same dir as the mp3s. But now the problem persists. The player continues to play but the player, Winamp in my case, stops and must be given a Play order again. Where could this go wrong?

robnoordt commented 4 years ago

This is the last part of the logfile(/var/log/deefuzzer/deefuzzer.log) 2020-01-12 12:19:24,955 INFO Station http://Raspberry3:8000/monitor1.mp3: Generating new playlist (500 tracks) 2020-01-12 12:19:37,661 INFO Station http://Raspberry3:8000/monitor1.mp3: Generating new playlist (500 tracks) 2020-01-12 12:25:04,500 INFO Station http://Raspberry3:8000/monitor1.mp3: Generating new playlist (500 tracks) 2020-01-12 12:25:13,755 INFO Station http://Raspberry3:8000/monitor1.mp3: Generating new playlist (500 tracks) 2020-01-12 12:30:42,230 INFO Station http://Raspberry3:8000/monitor1.mp3: Generating new playlist (500 tracks) 2020-01-12 12:31:00,529 ERROR Station http://Raspberry3:8000/monitor1.mp3: could not send the buffer 2020-01-12 12:31:00,533 INFO Station http://Raspberry3:8000/monitor1.mp3: channel closed 2020-01-12 12:31:00,534 INFO Station http://Raspberry3:8000/monitor1.mp3: channel connected 2020-01-12 12:31:00,535 INFO Station http://Raspberry3:8000/monitor1.mp3: channel restarted 2020-01-12 12:31:11,022 INFO Station http://Raspberry3:8000/monitor1.mp3: Generating new playlist (500 tracks) 2020-01-12 12:31:22,558 ERROR Station http://Raspberry3:8000/monitor1.mp3: could not send the buffer 2020-01-12 12:31:22,559 INFO Station http://Raspberry3:8000/monitor1.mp3: channel closed 2020-01-12 12:31:22,567 INFO Station http://Raspberry3:8000/monitor1.mp3: channel connected 2020-01-12 12:31:22,571 INFO Station http://Raspberry3:8000/monitor1.mp3: channel restarted 2020-01-12 12:38:26,675 INFO Station http://Raspberry3:8000/monitor1.mp3: Generating new playlist (500 tracks) 2020-01-12 12:38:38,710 INFO Station http://Raspberry3:8000/monitor1.mp3: Generating new playlist (500 tracks) 2020-01-12 12:42:14,498 INFO Station http://Raspberry3:8000/monitor1.mp3: Generating new playlist (500 tracks) 2020-01-12 12:42:26,202 INFO Station http://Raspberry3:8000/monitor1.mp3: Generating new playlist (500 tracks)

yomguy commented 4 years ago

Hi @robnoordt, and sorry for the late reply. Please check your icecast configuration which by default is limited by 1 or 2 sources. I will close this issue as the first subject is resolved. Please create a new one for the second if the pb persist after tuning the server.