Ts3audiobot: Retrieve mp3/icecast tags from online streams

Created on 19 Feb 2018  ·  22Comments  ·  Source: Splamy/TS3AudioBot

Most helpful comment

Icecast tags are now loaded as song title.
This feature is on the current develop branch.
Please test if there are any problems.

Pinned, so more people see this and maybe try it out to give error reports/feedback

All 22 comments

Icecast tags are now loaded as song title.
This feature is on the current develop branch.
Please test if there are any problems.

Pinned, so more people see this and maybe try it out to give error reports/feedback

In 91-dev version not in all bots radio-stream turn on. Also warnings and some errors in the console.

<21:40:34> "Админ": !play http://wargaming.fm/1
<21:40:39> "❉ Wargaming FM ❉1": Error: Could not load. (media: Unknown request error.)

91_develop_0d4ddda5.log
Configs bots - Configs.zip

In version 81-dev everything works without errors.
Working bots (Dev.81)
81_develop_01607501.log

Where I can prescribe user-agent? Preferably for a specific thread (radio-stream).

FfmpegProducer.StartFfmpegProcessIcy Unable to create icy-stream (Время ожидания операции истекло)

is it possible that the stream was down or not reachable? The bot simply could not get a web response.

Where I can prescribe user-agent?

Could you give an example for that?

is it possible that the stream was down or not reachable? The bot simply could not get a web response.

Radio-stream 100% working. He now play in version 81-dev without somebody problems. The error appeared in version 91-dev.
If the bot did not start the stream, then it does not start any station. At the same time, the rest of the bots work good.

Could you give an example for that?

EXTINF:-1,ФМ-на-Дону160-MP3 (Potokovoe.Ru)

EXTVLCOPT:http-user-agent=PotokovoeRu

http://95.188.107.89:8008/FM-na-donu.mp3
Error 403 for bots

_Bots seem not accept for playlists station from .m3u files_

None bot not playback radio-stream.
Version 92-dev
ts3audiobot.log

P.S. My fail)

I have a slight idea what the problem could be. I'll try a bit around the newx few days

I have a slight idea what the problem could be. I'll try a bit around the newx few days

Good.

In version 93, the bot does not start the second time.
ts3audiobot.log

P.S. Seems exist problem with reading the ts3audiobot.toml file. After his removal, the initial installation appears. Then during at restarting - crash.

it's a work in progress commit which isnt finished yet

I rechecked your log; is it possible that you forgot to adjust your ffmpeg path? Because the bot cant find the ffmpeg binary:

2019-03-28 11:08:08.1662| WARN|FfmpegProducer.StartFfmpegProcessInternal Ffmpeg could not be found (Не удается найти указанный файл)
System.ComponentModel.Win32Exception (0x80004005): Не удается найти указанный файл
   в System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   в TS3AudioBot.Audio.FfmpegProducer.StartFfmpegProcessInternal(FfmpegInstance instance, String arguments)

(I'm currently improving on the error message in such case)

Because the bot cant find the ffmpeg binary:

In 92 - my fail.)

More than 2 the same streams simultaneously does not playing.
PlayManager.StartResource Error return from player: Unable to create icy-stream (Время ожидания операции истекло)
ts3audiobot.log
Demonstrate work in 81 versions and 96: https://cloud.mail.ru/public/4SH7/ZdAcB9EHS

Thanks for the detailed report. It's fixed.

Thank! Working.

Seem to be, if occur the radio-stream interrupt, then the TS client crashes. Backward the client is not restored. Maybe not because of a radio-stream interrupt.
Previous to, this was not it was.

|DEBUG|FfmpegProducer.OnReadEmptyIcy Retry failed Unable to create icy-stream (Удаленный сервер возвратил ошибку: (404) Не найден.)
|FATAL|Core.ExceptionHandler Critical program failure!

ts3audiobot.log 97-dev

I've pushed a fix, should be fixed

Good!)

Hi. Crash(
ts3audiobot_99.log

Seems like me recentent changes to the library resolving broke it. I reverted that change and it should work now again.

Hello! Yet another 'mini-crash')
|ERROR|FfmpegInstanceReadStreamLoop Failed too many times trying to access ffmpeg. Closing stream.

ts3audiobot_102.log

What about SHOUTcast tags?

shouldn't that be the same ICY tags? At least that's what i found from a google search

Maybe. How do I set it up so that the current title is there?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luzzbe picture luzzbe  ·  6Comments

iiAlphaWolf01 picture iiAlphaWolf01  ·  4Comments

Splamy picture Splamy  ·  4Comments

SuspiciousActivity picture SuspiciousActivity  ·  6Comments

Adminio1 picture Adminio1  ·  4Comments