RadioParadise plugin Flac, works only for a while.

If something seems really buggy, report it here!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

RadioParadise plugin Flac, works only for a while.

Postby danielfelix » Mon Apr 22 2019 19:34

Hello Marco, I was finally able to make the idea that I had commented to you work, to make a download of the RP block, to play it, in the end to do the same again.
It really works fine, there is not a pause that is annoying at the end of the block playback, at least with my connection.
I developed it in python, which was the simplest for my knowledge. I run it via SSH with Putty, there are a couple of folders that you may have to create and install some Python library to make it work.
You will understand that it is an amateur job, but it works, it is not cut, it is a pleasure to listen for hours without intervening.
I pass the code to you if you want to look at it:
https://pastebin.com/Vi07p4tY
I hope you understand that it is an amateur code, it only serves to approach the idea from another point of view.
regard

Daniel
Daniel
RaspberryPi3 + Allo Boos DAC + Amp. Kenwood KA-400 + Focal Chorus 726 + Turntable Dual 504 + Cartdrige Shure M91E + Linear Power Unit DIY
User avatar
danielfelix
Objectivist
Objectivist
 
Posts: 427
Joined: Wed Feb 08 2017 16:24

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


RadioParadise plugin Flac, works only for a while.

Postby marco79cgn » Wed May 15 2019 13:48

Hi Daniel,
I was already working on a download-solution in order to fix the dropout issues (which I still don't have personally by the way but obviously some others). The problem is that I didn't get the metadata in sync while playing audio so I stopped this approach.

Did you see what Bill wrote the other day?
OK. We have an experimental FLAC stream URL available:

http://audio-3.radioparadise.com:8000/flac

NOTES:

1. There is no metadata (song titles). It appears that we just can't do that. You can use our web player in 'track' mode to see what's playing.

2. This is subject to outages and glitches as we refine our setup.
User avatar
marco79cgn
Serious Listener
Serious Listener
 
Posts: 88
Joined: Sun Aug 27 2017 22:12
Location: Cologne, Germany


RadioParadise plugin Flac, works only for a while.

Postby danielfelix » Wed May 15 2019 15:14

Hello Marco, since last night I am trying it, it seems to work well, at night I can have a preliminary conclusion.
What is soothing is that the problem exists and it is not in our hands to remedy it.
I think you should stop all the probable developments, you have to wait for Bill.
An option to obtain the metadata would be for RP to implement something similar to what it is using now, that with each topic upload a file with the metadata, hence you already know how to read them. Does it seem to suggest this to Bill?
Regarding downloading the pack and then playing it, in my little program what I do is read the time of each one and present the data during that time. It is very rudimentary, but generally works well.
regard
Daniel
RaspberryPi3 + Allo Boos DAC + Amp. Kenwood KA-400 + Focal Chorus 726 + Turntable Dual 504 + Cartdrige Shure M91E + Linear Power Unit DIY
User avatar
danielfelix
Objectivist
Objectivist
 
Posts: 427
Joined: Wed Feb 08 2017 16:24


RadioParadise plugin Flac, works only for a while.

Postby marco79cgn » Thu May 16 2019 08:17

Yes, the Radio Paradise official forum is full of reports regarding problems with the flac stream (both the former dynamic one and the newly created static stream). Even the normal 320 kbps AAC streams have had outages the last days.

I listened for a few hours yesterday and for the first time I had problems with it - after some time, the stream had lots of continous hiccups during playback. It was not completely interrupted but of course it's not possible to enjoy listening anymore. Restarting the stream solved the issue for a while.

Maybe they finally manage to fix these problems. Otherwise the only stable solution would be to pre-download the files and play them locally. This would require a lot of refactoring for the plugin, basically a restart from scratch.
User avatar
marco79cgn
Serious Listener
Serious Listener
 
Posts: 88
Joined: Sun Aug 27 2017 22:12
Location: Cologne, Germany


RadioParadise plugin Flac, works only for a while.

Postby danielfelix » Thu May 16 2019 14:08

Here with the static stream is cut when the server goes down, there are no cuts while it is up. And it's usually down for hours. I guess it's in the testing phase.
I pass the python code that I used to download the blocks. DO NOT LAUGH.
https://pastebin.com/tuaCq1b2
Daniel
RaspberryPi3 + Allo Boos DAC + Amp. Kenwood KA-400 + Focal Chorus 726 + Turntable Dual 504 + Cartdrige Shure M91E + Linear Power Unit DIY
User avatar
danielfelix
Objectivist
Objectivist
 
Posts: 427
Joined: Wed Feb 08 2017 16:24


RadioParadise plugin Flac, works only for a while.

Postby marco79cgn » Thu May 16 2019 22:40

Bill changed the static stream URL again, the old one soon won't work anymore.

http://icy-8.radioparadise.com/flac

The code doesn't look so bad, no worries.

I'm currently working on a bigger change. What already works is downloading the first flac file, local playback of the downloaded file and showing the correct metadata of all songs. The problem is that the first download might take lots of time. A single file may contain up to 8 songs and downloading it requires up to a minute or even more depending on the internet connection and also on the server side of Radio Paradise which obviously isn't the fastest at the moment. During that time there is silence and it seems that the GUI is stuck (which it isn't). So I need a workaround for that time. Maybe starting to play the Jeopardy main theme during the download. :D
User avatar
marco79cgn
Serious Listener
Serious Listener
 
Posts: 88
Joined: Sun Aug 27 2017 22:12
Location: Cologne, Germany


RadioParadise plugin Flac, works only for a while.

Postby danielfelix » Fri May 17 2019 15:09

I noticed that in the morning hours it is slower, then in the day the download normalizes.
In the mellow channel, there is no (never) 4 songs, the Main does, up to 8.
Maybe you can start the download of the next block first, while still playing the current block. In this case we would only have to wait for the first time.
Now, if Bill changes the system, I do not know if it's worth the effort.
Here we do not see Jeopardy ...
Daniel
RaspberryPi3 + Allo Boos DAC + Amp. Kenwood KA-400 + Focal Chorus 726 + Turntable Dual 504 + Cartdrige Shure M91E + Linear Power Unit DIY
User avatar
danielfelix
Objectivist
Objectivist
 
Posts: 427
Joined: Wed Feb 08 2017 16:24

Previous

Return to Bug reports

Who is online

Users browsing this forum: No registered users and 2 guests