LinuxMCE Forums

General => Users => Topic started by: maverick0815 on February 23, 2015, 11:40:24 AM

Title: question about internet radio
Post by: maverick0815 on February 23, 2015, 11:40:24 AM
When checking internet radio in the webadmin, I see a list of radio station that have been found externally. There is a button below to add them, I presume, but in the orbiter none show up..am I missing something?
Title: Re: question about internet radio
Post by: maverick0815 on March 01, 2015, 03:18:10 PM
It seems I have a few problems here. I think something is broken on my end. I tried adding a station manually, but it's not playing...how can I get rid of this? The other thing is, I tried this
Quotehttp://www.listenlive.eu/energysachsen.m3u
, I can stream this via my android tablet, but on once, it unceremoniously closes the player immediately. Anyone got an idea?
Title: Re: question about internet radio
Post by: phenigma on March 01, 2015, 04:47:32 PM
mmm.  yeah.  I have the same issue.  We need some tlc on the webadmin page for radio stations.  I'd love to do it, but it'll be forever before I get to it with all I'm trying to do right now. 

mav: if you can't get anyone to help with the webadmin page in a reasonable amount of time (week or two) then PM me and we'll get it done.

J(ason).
Title: Re: question about internet radio
Post by: sambuca on March 10, 2015, 01:03:20 PM
I can't remember who made the web admin page for radio stations (it wasn't me).

But I did complete the support for streaming audio in LMCE. Have you seen this http://wiki.linuxmce.org/index.php/Internet_Radio ("How to use" section)? This is working fine for me..

br,
sambuca
Title: Re: question about internet radio
Post by: maverick0815 on March 10, 2015, 06:58:22 PM
I will give this a try, though I still don't know how to clean up the clutter I have created.
Title: Re: question about internet radio
Post by: maverick0815 on March 14, 2015, 04:42:55 PM
Thanks, Sambuca, this works as described. I did have to try a little, but finally got it. However manipulating an existing stream...i am a bit clueless...like for example I want to add a picture for the station...how can I find that one again? Too bad that radio page is not working properly...it surely lists a lot of possible stations.
Title: Re: question about internet radio
Post by: Marie.O on March 14, 2015, 11:36:38 PM
All Scenario pics can be changed in web admin under Wizard / Scenarios
Title: Re: question about internet radio
Post by: maverick0815 on March 15, 2015, 11:41:37 AM
Sorry for the confusion. I didn't want to edit scenarios, but rather adding a logo to the radio station. Anyway I found it again via the  mediabrowser.
thanks again for the help
Title: Re: question about internet radio
Post by: maverick0815 on March 15, 2015, 01:04:32 PM
I found something! I think there is a script missing. The webpage for internetradio is trying to execute /usr/pluto/bin/radioscript.sh to add stations...however I cannot find this script anywhere.
______________
Update: I received the missing file and it I'm not mistaken, it should come with an update
Other than that..?it's working nicely.
Title: Re: question about internet radio
Post by: Dap-P on March 26, 2015, 10:00:40 PM
I also dont know who made that page in the web-admin, but i made that script. I dont know if it is adapted to be used with the webadmin.

But the webadmin page is on my to-do list, please be patient a little longer.

Regards,
Dap-P
Title: Re: question about internet radio
Post by: maverick0815 on March 27, 2015, 12:17:50 PM
sorry for the late update....the issue so far has been resolved by Alblasco...the script in question wasn't in the repo. I got it and now I also got internet radio. Thats working nicely. What I'm missing is an easy way to edit them, like putting logos or perhaps have favourites...something like that.
Title: Re: question about internet radio
Post by: Dap-P on April 16, 2015, 01:22:41 PM
UPDATE:

I've had some time to work on this, so I've added logo support in the radioscript.sh, and i adapted the webpage a little.
These are minor changes, but i need some feedback on the webpage.

To get the logo's automagicly, you have a run the radiostation.sh script with the delete option, en then you can add them via the webpage, or via radioscript.sh

Both new files are attached in this post.

For people who want to try, please backup the origional file (which was working)
radioscript.sh goes to /usr/pluto/bin/
internet_radio.php goes to /var/www/lmce-admin/operations/mediaBrowser/
Title: Re: question about internet radio
Post by: phenigma on April 18, 2015, 12:35:38 AM
This sounds great!  Dap-P could you create a ticket in svn and attach your files?  I'd be happy to incorporate the changes into the current 1204/1404 development. 

J.
Title: Re: question about internet radio
Post by: Dap-P on April 18, 2015, 11:44:38 PM
@Phenigma If someone could provide me with credential for trac, then i can make a ticket.

Meanwhile i did another update on the webpage,

I added a default sort function (Thanks Golgoj4), made some new labels, and added a delete function.

For people who want to try, please backup the origional file (which was working)
radioscript.sh (from my previous post) goes to /usr/pluto/bin/
internet_radio.php goes to /var/www/lmce-admin/operations/mediaBrowser/
Title: Re: question about internet radio
Post by: phenigma on April 18, 2015, 11:47:05 PM
Hey Dap-P, see the following forum post for the information that is required.  Thanks!

http://forum.linuxmce.org/index.php?topic=13696.0

J.
Title: Re: question about internet radio
Post by: Dap-P on April 18, 2015, 11:58:00 PM
Hey Phenigma, I asked for an account. As soon as I have it I will create a ticket, with the files.
Thanks)

Anton.
Title: Re: question about internet radio
Post by: phenigma on April 19, 2015, 12:45:34 AM
Hey Dap-P, I believe your trac account has been created, let me know if you have any troubles!

J.
Title: Re: question about internet radio
Post by: Dap-P on April 19, 2015, 12:55:51 AM
Phenigma,

I created a Trac ticket, #2342.
Could you take a look at it?

Anton
Title: Re: question about internet radio
Post by: phenigma on April 19, 2015, 01:00:15 AM
Looks great!

I'll update the files this evening and they'll come out in the next 1204/1404 updates.  Thank you!

Feel free to add/update/fix bugs and add to the ticket and I'll try to keep things up to date in the packages! 

J.
Title: Re: question about internet radio
Post by: maverick0815 on April 22, 2015, 08:59:56 PM
Sorry for answering so late..I tried the new script. I think there is still something going wrong. I deleted the existing stations and then tried to add them again with the new script. So far I could now only get about 6 stations out of about 20. Perhaps the script discards the station, if it can't pull a logo?

Still..so far, thanks for the effort :-)
cheers
Mario
Title: Re: question about internet radio
Post by: Dap-P on April 22, 2015, 09:03:25 PM
Mario,

The script doesn't discard stations if it can't find a logo. But it does discard them if it can't find a working stream. This is a really dirty way of checking, but it was working for me.
Were any of the missing stations working for you?

Anton
Title: Re: question about internet radio
Post by: maverick0815 on April 22, 2015, 09:07:38 PM
Actually they were all working. Like for example Radio energy...doesn't Show up anymore.  I added those stations with the previous script, so I suppose you used the same method for adding them there?
Title: Re: question about internet radio
Post by: Dap-P on April 22, 2015, 09:12:49 PM
Could you send me the URL that you use?
Then maybe I can find out what's happening.
Title: Re: question about internet radio
Post by: maverick0815 on April 22, 2015, 09:18:18 PM
Oops...I need to dig a little.
Title: Re: question about internet radio
Post by: Dap-P on April 22, 2015, 09:19:50 PM
Or does the script auto-detect your location? thats also possible)
Title: Re: question about internet radio
Post by: maverick0815 on April 22, 2015, 09:26:59 PM
It does...and it worked before.I also tried selecting the location, but the results were the same. .
Title: Re: question about internet radio
Post by: Dap-P on April 22, 2015, 09:27:46 PM
And where are you?
Title: Re: question about internet radio
Post by: maverick0815 on April 22, 2015, 09:29:55 PM
Germany, Saxony, chemnitz to be precise
Title: Re: question about internet radio
Post by: Dap-P on April 22, 2015, 09:30:58 PM
Ok, i will try to find out what is happening
Title: Re: question about internet radio
Post by: Dap-P on April 23, 2015, 01:27:16 AM
I've added a few things in the script,
I think you should get all your stations back now.

-Anton
Title: Re: question about internet radio
Post by: maverick0815 on April 23, 2015, 04:07:06 PM
Sounds Good, thanks:-)
Title: Re: question about internet radio
Post by: phenigma on April 24, 2015, 03:35:07 PM
I'll get the new scripts updated this weekend in the repository.  Thanks for working on this guys!

J.
Title: Re: question about internet radio
Post by: maverick0815 on April 28, 2015, 09:02:26 PM
So far so good. From only 5 Stations, the number went up to 20.however, for example Radio energy is not among them. The proposed list on the page is also longer. However, I could add the radio station manually, albeit without a logo...but it's usable.
Title: Re: question about internet radio
Post by: Dap-P on April 30, 2015, 11:38:50 PM
Maverick,

Radio Energy uses a weird URL, I havn't seen this on any other channel.Thus i decided to not look at it further.
You should be able to get a logo, manually, if you go to the media browser, select 'Channel' and jump to '#1-9' there you would see all the channels, and by selecting properties, you can add a picture to it.

Regards,
Anton
Title: Re: question about internet radio
Post by: golgoj4 on May 01, 2015, 06:25:21 AM
Thanks for the continued work on this.
Title: Re: question about internet radio
Post by: phenigma on May 02, 2015, 04:05:31 AM
Yeah.  Thanks for working on this guys!   :D

J.
Title: Re: question about internet radio
Post by: Dap-P on May 05, 2015, 02:33:34 PM
Meanwhile there have been a few updates to this,
The 'Delete Selected' function isnt working at the moment, but i will fix that,  if i can  8)

Dap-P