Page 4 of 8

Re: Tune In radio

PostPosted: Wed Jul 31, 2013 7:47 am
by unmatched
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?

Re: Tune In radio

PostPosted: Sat Aug 03, 2013 1:47 pm
by Maca
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.

Re: Tune In radio

PostPosted: Sun Sep 15, 2013 8:37 am
by dualc
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.?

Re: Tune In radio

PostPosted: Sun Sep 15, 2013 7:45 pm
by zip
Updated the plugin to follow new tunein changes

Re: Tune In radio

PostPosted: Mon Sep 16, 2013 5:01 am
by dualc
Thx for the update Petr, .. works like charm now. :)

/M

Re: Tune In radio

PostPosted: Tue Oct 01, 2013 4:48 pm
by flexi
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.

Re: Tune In radio

PostPosted: Wed Oct 02, 2013 9:00 pm
by zip
top of this topic

Re: Tune In radio

PostPosted: Fri Oct 04, 2013 12:54 am
by flexi
Oh, you can simply replace files here? Stupid me.
Well, version 4 looks way better. Thank you.

Re: Tune In radio

PostPosted: Mon Oct 28, 2013 8:24 am
by n3mmr
how the h--l do you know that you're actually providing mp3 streams so that they actually get presented??

Re: Tune In radio

PostPosted: Mon Oct 28, 2013 5:01 pm
by n3mmr
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?

Re: Tune In radio

PostPosted: Tue Oct 29, 2013 12:57 am
by jk50
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.

Re: Tune In radio

PostPosted: Sat Dec 21, 2013 8:53 am
by dualc
Hi.

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

/M

Re: Tune In radio

PostPosted: Fri Jan 10, 2014 2:01 pm
by TIG
Not workin' anymore...

Re: Tune In radio

PostPosted: Thu Jan 23, 2014 11:08 pm
by zip
Give me some URLs that don't work anymore.

Re: Tune In radio

PostPosted: Sat Feb 08, 2014 4:23 am
by sammo420
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.

Re: Tune In radio

PostPosted: Mon Feb 10, 2014 8:50 pm
by zip
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.

Re: Tune In radio

PostPosted: Sat Feb 15, 2014 1:23 am
by david3
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

Re: Tune In radio

PostPosted: Sat Feb 15, 2014 8:10 pm
by zip
I've updated the plugin - it should now pick that (flash based) station

Re: Tune In radio

PostPosted: Wed Apr 02, 2014 5:54 pm
by shomizu9
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

Re: Tune In radio

PostPosted: Sun May 11, 2014 12:35 pm
by Gumby
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?