XBMC Community Forum
RunXM - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+--- Thread: RunXM (/showthread.php?tid=31960)

Pages: 1 2 3 4 5 6 7 8 9 10


RunXM - calvin8714 - 2008-03-16 02:28

Hi everyone! I've been using XBMC for quite a while now, but I've just signed up here... great job on it!

I'm comfortable enough to be dangerous with scripts in Python as I'm familiar with Perl and PHP. I've made a couple changes to RunXM 0.11 in case anyone else might be interested.

There were a couple changes that took place on the websites that the script calls to, and that made some parts not work...

- XM Radio changed the location of, and the file names of the stations' images. The images used to be called from the script as a "token" variable in XmBase.py that were (and are still) hard coded into XmBase.py; I don't know if it will break the script by removing those, so I left them. Images are now named the channel number plus ".jpg", so I've changed from using the "token" variable to show the image to using the "number" variable instead.

- The size of the images are smaller: 130x58 instead of 150x150. These images, once downloaded, are now saved to the "RunXM/images" folder (more for organizational preference than anything else).

- Sloth Radio's cover search pages changed URLs and the way searches are formatted, and didn't forward searches through the old method to the new method. The formatting of the search result web page was changed also.

(edit: removed incorrectly indented code; all improvements/fixes are available through the download links within this topic)

http://www.xbmczone.com/plugin_details.asp?id=57
http://www.leknifragonline.net/RunXM/RunXM.zip


- calvin8714 - 2008-03-16 02:41

sorry... again, it's my first post. the indents didn't transfer to the above post.

(edit: post above was edited to remove the code indents)


- pike - 2008-03-16 02:56

wrap code tags around it next time Wink

Sorry no edit


- spiff - 2008-03-16 04:55

and there's this amazing new thing called diff...


- calvin8714 - 2008-03-16 17:33

spiff Wrote:and there's this amazing new thing called diff...

whats that?


- spiff - 2008-03-16 17:37

its the standard program / format for representing DIFFerences between files.
i.e. fundation of any revision control such as svn. much more expressive (you only see what actually changed), can be automatically applied, +++


- netropolis - 2008-07-22 04:28

So I am a very experienced user of XBMC now with a whole MONTH under my belt!
I never even looked into scripts and amopst posted a couple times asking for some kind of XM plugin... and so after opting to LURK... I discovered Scripts... and this post...

So I have downloaded Several incarnations of RunXM and a few renames of what appears to be the same script... I have ONE incarnation that PLAYS music... butdoesnt display the 'GUI' images they way it should...

any playce where i can get THIS posters version without having to edit code as I am far to dangerous in notepad to be any good to myself...


- calvin8714 - 2008-08-21 05:57

netropolis Wrote:any playce where i can get THIS posters version without having to edit code as I am far to dangerous in notepad to be any good to myself...

If you have not used RunXM before, or have a version of RunXM before 0.15, download the new installation file at either link:
http://www.xbmczone.com/plugin_details.asp?id=57
http://www.leknifragonline.net/RunXM/RunXM.zip

{Edit: Now only one installation file, as of 04/09/2010}

Extract the ZIP file above into a folder on your computer, then upload/move the whole RunXM folder on your computer into the XBMC/scripts folder. Run it, set your username and password through the script, restart RunXM, and begin listening!


- netropolis - 2008-09-13 04:30

Calvin - you are great! thanks!


- calvin8714 - 2008-11-12 21:13

I have updated RunXM recently to allow for teh editing of the username and password through the XBMC interface, rather than editing the file yourself. If you have access to XBMC Scripts.com's installer through their XBMC script, you can install it automatically.

Edit: as of 4/9/2010, there is only one version available, which will either create the username/password file upon first run, or bring the code up to date with new features/content, without overwriting the username/password file.

A new script will be released in a while with updated channels to reflect the additions/deletions of XM Radio online stations, thanks to the Sirius/XM combination.