| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
| ![]() 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. |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Sep 2004 Location: Germany
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
| | #4 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
| 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. |
| | |
| | #5 (permalink) |
| Portal Member Join Date: Apr 2004
Posts: 318
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
| | #6 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
| 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. |
| | |
| | #8 (permalink) |
| Portal Member Join Date: Sep 2004 Location: Germany
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
| | #9 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
| 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. |
| | |
| | #10 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Hong Kong
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
![]() |
| Bookmarks |
| Tags |
| plugin, release, shoutcast |
| Thread Tools | |
| Display Modes | |
| |
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 |