FAQ  •  Register  •  Login

Tune In radio

<<

unmatched

Streaming enthusiast

Posts: 24

Joined: Wed Jul 24, 2013 3:53 pm

Post Wed Jul 31, 2013 7:47 am

Re: Tune In radio

Ich have 2 Questions:
1: I cant add single stations like this: http://tunein.com/radio/Masters-of-Hard ... o-s111956/ please help
2: Is it possible to add my favourites from Tune in to Serviio?
<<

Maca

Streaming enthusiast

Posts: 45

Joined: Wed Jan 09, 2013 3:26 pm

Post Sat Aug 03, 2013 1:47 pm

Re: Tune In radio

zip, I have been using this plugin quite a lot on my Sony Bravia (2011) and it seems a bit hit and miss whether the stream will start, often I have to return and press play again until it starts.
Grabbed the log output...
  Code:
2013-08-03 14:36:19,879 WARN [OutputBytesReader] Error reading bytes stream from external process: Stream closed
2013-08-03 14:36:19,895 WARN [PipedOutputBytesReader] Error reading bytes stream from external process: Stream closed


This was using 1.3 beta 3 and the recent RC1

Works ok, but would be great if it worked first go.
<<

dualc

Streaming enthusiast

Posts: 49

Joined: Tue Oct 04, 2011 6:54 pm

Location: Rimbo (Sweden)

Post Sun Sep 15, 2013 8:37 am

Re: Tune In radio

Hi..

Can get it to work in 1.3.1 server, added..

http://tunein.com/radio/Trance-g403/

http://tunein.com/radio/Sweden-r101300/

http://tunein.com/radio/stations/Sveriges-Radio-a33815/

I got this warning in log..

WARN [FeedUpdaterThread] An error occured while parsing the online resource http://tunein.com/radio/stations/Sveriges-Radio-a33815/, will try again soon: Unexpected error while invoking plugin (Tune In): index is out of range 0..-1 (index = 0)

As webresource, and i cant see any list in either XBMC or on my BD-C5500 bluray player.

Any ideas.?
BlurayPlayer: Samsung BD-C5500
TV: Samsung LE40B535
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Sep 15, 2013 7:45 pm

Re: Tune In radio

Updated the plugin to follow new tunein changes
<<

dualc

Streaming enthusiast

Posts: 49

Joined: Tue Oct 04, 2011 6:54 pm

Location: Rimbo (Sweden)

Post Mon Sep 16, 2013 5:01 am

Re: Tune In radio

Thx for the update Petr, .. works like charm now. :)

/M
BlurayPlayer: Samsung BD-C5500
TV: Samsung LE40B535
<<

flexi

Serviio newbie

Posts: 5

Joined: Tue Oct 01, 2013 2:36 pm

Post Tue Oct 01, 2013 4:48 pm

Re: Tune In radio

Where do I find the updated plugin?

A.P.P for Serviio 1.3.1 (27/09/2013) includes tunein.groovy version 3 by 31/03/2013.
I'm getting "Unexpected error while invoking plugin (Tune In): index is out of range 0..-1 (index = 0)" every time.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 02, 2013 9:00 pm

Re: Tune In radio

top of this topic
<<

flexi

Serviio newbie

Posts: 5

Joined: Tue Oct 01, 2013 2:36 pm

Post Fri Oct 04, 2013 12:54 am

Re: Tune In radio

Oh, you can simply replace files here? Stupid me.
Well, version 4 looks way better. Thank you.
<<

n3mmr

DLNA master

Posts: 327

Joined: Tue Jun 15, 2010 8:01 am

Post Mon Oct 28, 2013 8:24 am

Re: Tune In radio

how the h--l do you know that you're actually providing mp3 streams so that they actually get presented??
<<

n3mmr

DLNA master

Posts: 327

Joined: Tue Jun 15, 2010 8:01 am

Post Mon Oct 28, 2013 5:01 pm

Re: Tune In radio

I set up the URL http://tunein.com/radio/stations/Sveriges-Radio-a33815/ which works.

But only the first 7 entries, i e the first page; There are several pages. Their URLs are the same, but... ?

How's one supposed to make this plugin show the rest of the stations available?
<<

jk50

Serviio lover

Posts: 54

Joined: Mon Jan 09, 2012 9:53 am

Post Tue Oct 29, 2013 12:57 am

Re: Tune In radio

n3mmr wrote:I set up the URL http://tunein.com/radio/stations/Sveriges-Radio-a33815/ which works.

But only the first 7 entries, i e the first page; There are several pages. Their URLs are the same, but... ?

How's one supposed to make this plugin show the rest of the stations available?


Try this
first page:
http://tunein.com/radio/search/?query=Sveriges

second page:
http://tunein.com/radio/search/?query=Sveriges&offset=7

third page:
http://tunein.com/radio/search/?query=S ... &offset=14

just change "&offset=X" untill you get what you want.
<<

dualc

Streaming enthusiast

Posts: 49

Joined: Tue Oct 04, 2011 6:54 pm

Location: Rimbo (Sweden)

Post Sat Dec 21, 2013 8:53 am

Re: Tune In radio

Hi.

This plugin does not give me any playlist's anymore, .. needin'g an uppgrade maybee?

/M
BlurayPlayer: Samsung BD-C5500
TV: Samsung LE40B535
<<

TIG

Serviio newbie

Posts: 3

Joined: Fri Jan 10, 2014 2:00 pm

Post Fri Jan 10, 2014 2:01 pm

Re: Tune In radio

Not workin' anymore...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 23, 2014 11:08 pm

Re: Tune In radio

Give me some URLs that don't work anymore.
<<

sammo420

Serviio newbie

Posts: 2

Joined: Sat Feb 08, 2014 4:05 am

Post Sat Feb 08, 2014 4:23 am

Re: Tune In radio

According to an above post this at one point worked

http://tunein.com/radio/stations/Sveriges-Radio-a33815/

but I tried it and it didn't work for me. I've also tried getting

http://tunein.com/radio/The-Bone-1077-s35231/#

in a couple of different variations to work with no luck which is why I tried the above to make sure it wasn't something I was doing wrong. Enter as "web resource" and click "audio" and nothing. They can't all be mp3.

Great app by the way, thatnks for allowing me to kick to competition to the curb. You guys in the forums with the plugins and transcoding support really make this app a lot better as well.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 10, 2014 8:50 pm

Re: Tune In radio

sammo420 wrote:According to an above post this at one point worked

http://tunein.com/radio/stations/Sveriges-Radio-a33815/

This one gives me 6 streams on the Bravia.
<<

david3

Serviio newbie

Posts: 2

Joined: Sat Feb 15, 2014 1:09 am

Post Sat Feb 15, 2014 1:23 am

Re: Tune In radio

Hello Petr (zip)

I change your plugin Tune In, in VALID_FEED_URL. This line (15) I change to:
  Code:
final VALID_FEED_URL = '^(?:https?://)?(?:www\\.)?tunein\\.com/(radio/|search/\\?query=).+'


This change permit to add Urls from Search Query. For Example if you Search in Tune in "Sky.fm New Age" the Url is:
  Code:
http://tunein.com/search/?query=sky.fm%20new%20age

This code works correctly and shows radio stations...

But in unknown circunstances it doesnt work. For Example with query "Kiss FM 955"
  Code:
http://tunein.com/search/?query=kiss%20fm%20955

This case shows a empty folder, but in Tune In results shows 1 result. I think it happens by an html TAG but i cant found.

Can you help me? thanks!!
I attach the file if anybody want to add search results as Stations
Attachments
TuneIn.groovy
(5.4 KiB) Downloaded 306 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Feb 15, 2014 8:10 pm

Re: Tune In radio

I've updated the plugin - it should now pick that (flash based) station
<<

shomizu9

Serviio newbie

Posts: 2

Joined: Fri Mar 21, 2014 5:19 am

Post Wed Apr 02, 2014 5:54 pm

Re: Tune In radio

Thanks so much for this plugin (and Serviio itself!).

I've figured out how to use it after reading over everything here - but also noticed some people asking about things I would also love to see after learning how to use the plugin and how TuneIn search queries work in general.

Some people above mentioned the 7 station result limit - this is of course how TuneIn search results are returned when you do a search on their website; if there are more than 7 results it shows some buttons for showing a new page with further results. I monkeyed around with URLs trying to see if there was a way to get TuneIn to return all results on one page (which would let someone add such a URL to Serviio), but of course any operators are not listed anywhere I could find. The offset one simply allows you to basically repeat the behavior the buttons on the results page provides.

Given the TuneIn plugin parses the returned results page to build its list of stations available in Serviio, what about having the plugin look for and use the "Showing 1-7 of 30" type info on the returned page to do a loop or something to basically forward the results (like a person would if they clicked the > arrow button on the TuneIn results page to forward their results list), adding stations from each returned page until the end? It would be a sort of hack to get around the 7 station results per page limit and allow Serviio users to build full station lists off search queries. This in turn means having to add fewer web resource URLs to Serviio to get all results.

Why would anyone want to add a full search query as a web resource? Well, an example is a collection of stations that belong to one site - SomaFM. If I search for "somafm" it returns all the stations they produce, and we could simply add one url as a web resource to get all 30 results into Serviio:

http://tunein.com/search/?query=somafm (returns 1-7 only)

instead of 5 URLs:

(1-7) http://tunein.com/search/?query=somafm
(8-14) http://tunein.com/search/page/?query=so ... e&offset=7
(15-21) http://tunein.com/search/page/?query=so ... &offset=14
(22-28) http://tunein.com/search/page/?query=so ... &offset=21
(29-30) http://tunein.com/search/page/?query=so ... &offset=28

Of course, the Serviio user would really want to be sure that their search query URL they add as a web resource actually returned only what they wanted.....

Just a thought/idea! Thanks again
<<

Gumby

Serviio newbie

Posts: 3

Joined: Sat Mar 29, 2014 1:20 pm

Post Sun May 11, 2014 12:35 pm

Re: Tune In radio

Is it just me...or did the Tunein plugin stop working over this weekend? I know there was a new release of the TuneIn web site...anyone else having issues?
PreviousNext

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 20 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.