MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2005-01-19, 20:25   #1 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts


Default Shoutcast Plugin release


So far this is what I have as you can see on the screenshot.
I'm pretty much done with it, I just need to test it on different configurations.
There is no automation, I might consider adding that later but for now it's testing and getting rid of bugs.

What it does:
Connects to shoutcast and downloads .pls files according to the criteria selected and orders the files in directories or in the default directory.

Just copy the ShoutCast.dll file to your .\plugins\windows\ dir and run the setup in configuration. It'll prompt you for your directory and notify you about creating a confg file. Once you are configured just hit download and it will grab the .pls files. Make sure you hit Save/Exit or else it won't save and you will have to reconfigure later.

Between 5-25 downloads per genre might be considered safe and optimal.
Theoritically you should be able to select all the genres and have a count of 100 per genre to download, however the server will cut you off and you will end up with .pls files containing text saying: "too many requests, try again tommorow". Downloading 100 .pls files for one genre took me 20 minutes to parse the html then another 5 to download the files.

I made this in order to avoid manually downloading .pls files only to know that some change frequently or are no longer valid. This will make the task of retrieving them hassle free.
Retrieve the file here
Any feedback from you guys would greatly be appreciated and will help me to improve this plugin. Thanks.
juvinious is offline   Reply With Quote
Old 2005-01-20, 00:18   #2 (permalink)
Retired Team Member
 
tomtom21000's Avatar
 
Join Date: Apr 2004
Location: Germany
Posts: 1,019
Thanks: 7
Thanked 7 Times in 7 Posts

My System

Default

Looks great.
Looking forward to integration in mp.

tomtom21000, who is sorry to not have the time to test this for you the next days.
__________________
tomtom21000 is offline   Reply With Quote
Old 2005-01-20, 19:53   #3 (permalink)
Portal Member
 
Join Date: Sep 2004
Location: Germany
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts


Default

hi!

nice plug-in! but some questions.
how did you setup the player? use the music modul and point a folder to the shoutcast directory? btw this works fine!
and what about the interface? there is only a grey form where i can setup all the stuff. do i have to copy the jpg anywhere?

and a feature request. what about downloading playlists from within mp or create a scheduled task?

the butcher
__________________
------------------
Asus P4S8X - Intel Celeron 2 GHz - 512 MB RAM - ATI Radeon 9600 SE - PVR 350 - FireDTV DVB-C - 160 GB Samsung - Win XP Pro SP 2 - MP 0.1.3.0
------------------
http://www.mymediaportal.de
butcherBoy is offline   Reply With Quote
Old 2005-01-21, 01:40   #4 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Butcher: Yeah I ran into some issues with that, I fixed the form so that everything is legible instead of just grey. Just redownload it and it should be fine. Yeah it's not intended to be setup with the player, just have mediaportal point to the folder where the .pls files download to. Integration will come later, as it still has some minor issues with downloading 20+ files per genre sometimes. I was thinking more on a scheduler but I'll see what I can do. There are other issues that I need to look at first though. Thanks for the feedback I'll keep working on it and hopefully get it stable enough where I can start work on yahoo launch.
juvinious is offline   Reply With Quote
Old 2005-01-21, 05:10   #5 (permalink)
Portal Member
 
Join Date: Apr 2004
Posts: 318
Thanks: 0
Thanked 0 Times in 0 Posts


Default

great dude

sounds really nice...and a yahoo .asx grabber would be great too

maybe sometime down the line u can work on others too...like :

Gamertrailers.com (there are both .MOV and WMV trailers)
Apple.com quicktime trailers(.MOV)

i cant seem to download the .ZIP u have posted...just comes up as a .htm and its a blank screen with a popup warning
SiLenTYL is offline   Reply With Quote
Old 2005-01-21, 06:06   #6 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts


Default File

Ok had a problem on my server so I put it up at another location for the time being I updated the above link on my first post.
Click here to get it.
juvinious is offline   Reply With Quote
Old 2005-01-21, 08:19   #7 (permalink)
Portal Member
 
Join Date: Apr 2004
Posts: 318
Thanks: 0
Thanked 0 Times in 0 Posts


Default

sweet the new link works

thats great work dude !!

it would be great to get the highest bitrate channels first before the lower ones..but apart from that its great!
SiLenTYL is offline   Reply With Quote
Old 2005-01-21, 10:00   #8 (permalink)
Portal Member
 
Join Date: Sep 2004
Location: Germany
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts


Default

or let the user choose the bitrate that best fits his needs.

the interface is now much better to read.

the butcher
__________________
------------------
Asus P4S8X - Intel Celeron 2 GHz - 512 MB RAM - ATI Radeon 9600 SE - PVR 350 - FireDTV DVB-C - 160 GB Samsung - Win XP Pro SP 2 - MP 0.1.3.0
------------------
http://www.mymediaportal.de
butcherBoy is offline   Reply With Quote
Old 2005-01-21, 10:15   #9 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I can add bitrate selection that shouldn't be a problem.
I just updated it right now with more error checking, it shouldn't crash now if any errors are encountered.
It also checks to see if you exceeded the download limit and if so it tells you to try again later. That way it doesn't download a bunch of .pls files with the text "Too many requests. Try again tomorrow." inside of them, which can be misleading. :? hehe
I'm also looking into adding the automation now, just don't have much time left today. I'll hopefully have more updates for you guys in a couple of days.
Thank you two, Silen and butcher, I really appreciate the feedback.
juvinious is offline   Reply With Quote
Old 2005-01-22, 13:22   #10 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts


Default

As requested I added bitrate maxlimit and sorting by bitrate. I also added some more error checking in the parser in order to avoid any mishaps which should lend itself to be much more stable. As I am working to get scheduling added I am also going to implement a que so that it polls files and if it reaches the server limit it will continue to poll after a certain time has passed from where it left off.
Any other ideas or suggestions are welcomed. Thanks again and to the great team behind media portal for doing a great job.

If you missed the links above you can grab the file:
Here
juvinious is offline   Reply With Quote
Reply

Bookmarks

Tags
plugin, release, shoutcast

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTV@UT Plugin moiristo Plugins 116 2008-10-06 22:32
RadioServer Plugin (SHOUTcast Server) Anonymous Plugins 2 2006-09-30 18:10
Problem using shoutcast plugin - anyone help? ian4958 Plugins 1 2006-03-08 07:31
Gathering topical infos about plugins (To: authors & use tomtom21000 Plugins 2 2006-02-05 00:20


All times are GMT +1. The time now is 05:31.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden