icecastloop_metadata: Error: 'Station' object has no attribute 'song'
doomy23 opened this issue · 2 comments
doomy23 commented
Hi! It's me again, seems like Im stuck, I downloaded the latest version from the repository but I cannot get it to work properly with my icecast2 on Ubuntu 20.04.3.
2022-01-09 06:32:51,993 INFO Core: Starting DeeFuzzer
2022-01-09 06:32:51,993 INFO Core: Using Python version 3.8.10
2022-01-09 06:32:51,993 INFO Core: Using libshout version 2.4.3
2022-01-09 06:32:51,993 INFO Core: Number of stations : 1
2022-01-09 06:32:51,994 INFO Core: Loading new stations
2022-01-09 06:32:51,994 INFO Station http://127.0.0.1:8000/vapor2.ogg: Opening vapor2 - Test
2022-01-09 06:32:51,995 INFO Core: Started station Station 0
2022-01-09 06:32:51,995 INFO Core: Writing M3U file to : /var/www/deefuzer.m3u
2022-01-09 06:32:52,003 INFO Station http://127.0.0.1:8000/vapor2.ogg: Channel available.
2022-01-09 06:32:52,025 INFO Station http://127.0.0.1:8000/vapor2.ogg: channel connected
2022-01-09 06:32:52,041 INFO Station http://127.0.0.1:8000/vapor2.ogg: Generating new playlist (16 tracks)
2022-01-09 06:32:52,042 ERROR Station http://127.0.0.1:8000/vapor2.ogg: icecastloop_metadata: Error: 'Station' object has no attribute 'song'
2022-01-09 06:32:57,000 ERROR Core: Station Station 0 is stopped and will not be restarted.
Here is the config I use: deefuzzer.json
:
{
"deefuzzer": {
"log": "/var/www/deefuzzer.log",
"m3u": "/var/www/deefuzer.m3u",
"station": {
"control": {
"mode": 0,
"port": 16001
},
"infos": {
"description": "Test",
"genre": "Test",
"name": "Test",
"short_name": "test",
"url": "https://radiodoom.ca"
},
"jingles": {
"dir": "/var/www/music/Jingles",
"mode": 0,
"shuffle": 1
},
"media": {
"bitrate": 128,
"source": "/var/www/music",
"mysql": {
"host": "127.0.0.1",
"port": 3306,
"user": "...",
"password": "...",
"database": "...",
"table": "...",
"field": "..."
},
"format": "ogg",
"ogg_quality": 4,
"samplerate": 48000,
"shuffle": 1,
"voices": 2
},
"server": {
"host": "127.0.0.1",
"mountpoint": "vapor2",
"port": 8000,
"public": 0,
"sourcepassword": "....",
"type": "icecast",
"appendtype": 1
}
}
}
}
doomy23 commented
I tried different songs and I have a different issue, metadata is present (song) but I get this :
2022-01-09 06:46:57,213 INFO Station http://127.0.0.1:8000/vapor2.ogg: DeeFuzzing: id = 0, name = Trademarks & Copyrights - Late Night Hour - 10 Tell Her.mp3
2022-01-09 06:46:57,235 ERROR Station http://127.0.0.1:8000/vapor2.ogg: icecastloop_metadata: Error: Metadata not supported in this connection
doomy23 commented
Oh with mp3
format I have none of these issues it seems!
I can stream both of my channels on Icecast without any problem now.