Trouble with adding radio stations [SOLVED]

Hello @Mesmo,

Thanks for trying those links and verifying that it is not the same issue. I think you may have been right regarding the dependencies for your radio station, can you please check to make sure you have the proper dependencies installed for your linux Roon build? You can use the commands listed here to make sure that they’re installed properly:

For  ffmpeg :

$ sudo apt-get install ffmpeg

For  avconv :

$ sudo apt-get install libav-tools

These commands are from our Linux Setup Guide

Thanks,
Noris

Thanks Noris,

I really struggled to install ffmpeg originally as I was unable to find it using apt-get, but did manage in the end using:

$ sudo snap install ffmpeg

I’m running version 4.0.2 of it currently.

If I try using apt-get I get an error:

Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘ffmpeg’ has no installation candidate

I get a similar error when trying to install libav-tools:

E: Unable to locate package libav-tools

So I installed libsound2 via apt-get.

If I run /opt/RoonServer/check.sh I get this response:

Checking to see if RoonServer can run on this machine
Checking for Binary Compatibility [ OK ]
Checking for ALSA Libraries [ OK ]
Checking for ffmpeg or avconv [ OK ]
Checking for the mount.cifs command [ OK ]
Testing ulimit -n 8192 [ OK ]
STATUS: SUCCESS

Hello @Mesmo,

Thanks for letting me know. I have passed your feedback to the QA team who will take a look at the log snippet you posted and I will be sure to let you know once I hear back from them regarding next steps.

Thanks,
Noris

Hello @Mesmo,

I spoke to the technical team today and they have confirmed that the issue you’re seeing here is because you don’t have ffmpeg installed on your Ubuntu Core. I would take a look at these instructions to see if they help with the installation of ffmpeg:

Please let me know if this helps.

Thanks,
Noris

Thanks Noris,

I do have ffmpeg installed, just not via apt-get, using snap instead.

When I try with those instructions its similar to the issues I had in my original install:

$ sudo add-apt-repository ppa:jonathonf/ffmpeg-4

Backport of FFMPEG-4 and associated libraries. Now includes AOM/AV1 support!
More info: FFmpeg 4 : Jonathon F
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 Index of /ubuntu bionic InRelease
Get:2 Index of /ubuntu bionic-security InRelease [83.2 kB]
Hit:3 Index of /djcj/hybrid/ubuntu bionic InRelease
Ign:4 http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu bionic InRelease
Get:5 Index of /jonathonf/ffmpeg-4/ubuntu bionic InRelease [15.9 kB]
Get:6 Index of /ubuntu bionic-updates InRelease [88.7 kB]
Ign:7 Index of /mc3man/trusty-media/ubuntu bionic InRelease
Err:8 http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Err:9 Index of /mc3man/trusty-media/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Get:10 Index of /ubuntu bionic-security/main amd64 Packages [209 kB]
Get:11 Index of /ubuntu bionic-security/main Translation-en [82.1 kB]
Get:12 Index of /jonathonf/ffmpeg-4/ubuntu bionic/main amd64 Packages [6,976 B]
Get:13 Index of /jonathonf/ffmpeg-4/ubuntu bionic/main Translation-en [4,652 B]
Get:14 Index of /ubuntu bionic-updates/main amd64 Packages [444 kB]
Get:15 Index of /ubuntu bionic-updates/main Translation-en [167 kB]
Reading package lists… Done
E: The repository ‘http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu bionic Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository ‘Index of /mc3man/trusty-media/ubuntu bionic Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

$ sudo apt-get update

Hit:1 Index of /djcj/hybrid/ubuntu bionic InRelease
Hit:2 Index of /ubuntu bionic InRelease
Hit:3 Index of /ubuntu bionic-security InRelease
Ign:4 http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu bionic InRelease
Hit:5 Index of /ubuntu bionic-updates InRelease
Hit:6 Index of /jonathonf/ffmpeg-4/ubuntu bionic InRelease
Ign:7 Index of /mc3man/trusty-media/ubuntu bionic InRelease
Err:8 http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Err:9 Index of /mc3man/trusty-media/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Reading package lists… Done
E: The repository ‘http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu bionic Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository ‘Index of /mc3man/trusty-media/ubuntu bionic Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

sudo apt-get install ffmpeg

Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ffmpeg : Depends: libavcodec58 (= 7:4.0.3-1~18.04.york0)
Depends: libavdevice58 (= 7:4.0.3-1~18.04.york0) but it is not going to be installed
Depends: libavfilter7 (= 7:4.0.3-1~18.04.york0)
Depends: libavformat58 (= 7:4.0.3-1~18.04.york0) but it is not going to be installed
Depends: libavresample4 (= 7:4.0.3-1~18.04.york0) but it is not going to be installed
Depends: libavutil56 (= 7:4.0.3-1~18.04.york0) but it is not going to be installed
Depends: libpostproc55 (= 7:4.0.3-1~18.04.york0) but it is not going to be installed
Depends: libsdl2-2.0-0 (>= 2.0.8) but it is not installable
Depends: libswresample3 (= 7:4.0.3-1~18.04.york0) but it is not going to be installed
Depends: libswscale5 (= 7:4.0.3-1~18.04.york0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Not being a linux expert I’m at a bit of a loss, but it looks to me like this packaging of ffmpeg is no longer complete.

Hello @Mesmo,

While we don’t typically troubleshoot non-Roon related issues (such as ffmpeg) I have found these following articles which may point you in the right direction:

(Take a look at this one in-depth):

Thanks,
Noris

Partial success - thanks for all your help so far…

I looked at those links and sadly got nowhere with apt-get, so I followed the steps here https://www.johnvansickle.com/ffmpeg/faq/ and managed a manual install.

I now have the high quality BBC stations working, but still no joy with the TuneIn stations (though right now I cannot get them working in the browser either).

Hello @Mesmo,

Glad to hear you’ve been able to use those instructions to resolve the ffmpeg issue. If the Tunein links don’t work in your browser then it is highly unlikely they will work in Roon. There’s quite a few radio stations listed in this thread if you’re looking for some new content:

Thanks,
Noris

Closed due to inactivity. If you are still seeing this issue, please open a new support thread.