Quantcast
Channel: Squeezebox : Community : Forums - 3rd Party Software
Viewing all articles
Browse latest Browse all 2059

BBC iPlayer - RTMP for non-BBC streams

$
0
0
Hello again bpa,

Background
I posted earlier in the old thread that the fix you offered a year or so ago, to stream [Egyptian Radio & Television Union] ERTU audio to the Squeezebox Radio didn't work anymore. I was wrong, but a strange issue persists.

Let me explain.

The stream in question is the Local European service of Radio Cairo (and similar streams from ERTU: egradio.eg).

The URL is:
Code:

rtmp://liveRadio.onlinehorizons.net/ElBernamegElOrobi  -W http://lr.onlinehorizons.net/player.swf -p http://lr.onlinehorizons.net/ElBernamegElOrobi.html -v  -y livestream -B 10
The URL processed by the BBC iPlayer plugin and entered as a favorite in LMS is
Code:

rtmp://liveRadio.onlinehorizons.net:1935?streamname=bGl2Z XN0cmVhbQ==&app=RWxCZXJuYW1lZ0VsT3JvYmk=&live=MQ== &swfurl=aHR0cDovL2xyLm9ubGluZWhvcml6b25zLm5ldC9wbG F5ZXIuc3dm&tcurl=cnRtcDovL2xpdmVSYWRpby5vbmxpbmVob 3Jpem9ucy5uZXQvRWxCZXJuYW1lZ0VsT3JvYmk=&pageurl=aH R0cDovL2xyLm9ubGluZWhvcml6b25zLm5ldC9FbEJlcm5hbWVn RWxPcm9iaS5odG1s&.mp3
As bpa explained, the BBCiPlayer "uses base64 encoding of the various params so it can be internally passed transparently" hence the conversion.

The next part of the solution was to replace the rtmp.pm file in the plugin with a modified version bpa provided which supports the pageurl parameter (not used for BBC streams).

The strange problem
The result then as now, is that bpa's solution would not work right away. When I tried to play on an SB radio, I'd get 'Connection reset by remote host' on the Radio display, and on the LMS display, it would stop trying to play after a few seconds.

But then and only by chance, I found out that if I synchronized my two SBs to play together, I could start the stream on either of them and the playback would work on both. I could then turn off the player I didn't need to keep on. This I found to be a very strange workaround.


System Information
Additional details:

My Logitech Media Server (LMS) Version 7.7.2 is installed on a QNAP 212P running QTS version 4.3.3.0724. QTS is based on Linux

From LMS Settings (Information Tab)
Operating system: SSOTS 4.x (QNAP TurboStation) - EN - utf8
Platform Architecture: armv5tel-linux
Perl Version: 5.10.0 - armv5tel-linux-thread-multi
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 2

The two identical Squeezebox Radios (Upstairs and Downstairs) are as follows:

Downstairs
Player Model: Squeezebox Radio
Firmware: 7.7.3-r16676
Player IP Address: 192.168.1.158
Player MAC Address: 00:04:20:2b:13:b5


Upstairs
Player Model: Squeezebox Radio
Firmware: 7.7.3-r16676
Player IP Address: 192.168.1.157
Player MAC Address: 00:04:20:27:29:4e

Two additional Points:
  1. The streams at egradio.eg are very unreliable. They are offline days on in a row and come back to life without explanation. Indeed, there reliability is getting worse. Some of them seem permanently dead. As to the “European Program”, it is the third down on the right at http://egradio.eg/our_extentions/egplayer/.
  2. I know my LMS (v 7.7.2 ) is out of date. It even says that 7.7.6 is available to download. But my version of LMS is QNAP specific and was downloaded the QNAP App store. There may be upgrade paths but I haven’t explored them.


Any help would be appreciated.

gc

Viewing all articles
Browse latest Browse all 2059

Trending Articles