Posts: 6
Joined: Aug 2005
Reputation:
0
2005-08-26, 22:17
i've tried the new xm web radio script, which is working beautifully even if it doesn't have much eye candy yet, but i have one complaint. it doesn't seem to be pulling the high bandwidth streams, and the low bandwidth streams don't sound nearly as good. does anyone know of a way that i might be able to set this up? i tried looking through the script, but not being very good with code i didn't see anything that looked like i could change for this.
Posts: 48
Joined: Sep 2005
Reputation:
0
i've been working with this script over the weekend, and i'm fairly sure it is pulling in the high speed streams. the url it creates to request the stream tells xm that it would like the high bandwidth feed. i've tried playing the feed in winamp, but it doesn't say the bandwidth of the stream. but yeah, it does seem to be pulling the high bandwidth streams.
if anyone can prove me wrong, please do and we can work to fix it.
Posts: 6
Joined: Aug 2005
Reputation:
0
2005-09-17, 16:29
excellent! :bowdown: i'll give it a look. unfortunately, i'm using one of the extremely buggy builds from august (i have to run it in 480p instead of 1080i because half of xbmc doesn't work if i do), so i may not spot any bugs. if i do, i'll pass them on.
Posts: 48
Joined: Sep 2005
Reputation:
0
unfortunately, i don't have an hdtv, so i can only guarantee that this script will look right at sd resolutions. if you can fix the code ui placement code to work with hd then please do. the problem is that one of the images i use onscreen has to be precisely placed to make sense. the only thing i can think of that would work for all resolutions is this: if you could figure out all the placements for the various different resolutions, i can write a function that will handle ui placement for all of this.
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
did you try these?
hdtv_1080i = 0 # (1920x1080, 16:9, pixels are 1:1)
hdtv_720p = 1 # (1280x720, 16:9, pixels are 1:1)
hdtv_480p_4x3 = 2 # (720x480, 4:3, pixels are 4320:4739)
hdtv_480p_16x9 = 3 # (720x480, 16:9, pixels are 5760:4739)
ntsc_4x3 = 4 # (720x480, 4:3, pixels are 4320:4739)
ntsc_16x9 = 5 # (720x480, 16:9, pixels are 5760:4739)
pal_4x3 = 6 # (720x576, 4:3, pixels are 128:117)
pal_16x9 = 7 # (720x576, 16:9, pixels are 512:351)
pal60_4x3 = 8 # (720x480, 4:3, pixels are 4320:4739)
pal60_16x9 = 9 # (720x480, 16:9, pixels are 5760:4739)
self.setcoordinateresolution(ntsc_4x3)
resolution = self.getresolution()
Posts: 48
Joined: Sep 2005
Reputation:
0
i will look into this and post an updated version in a few days that uses this. i will have to rely on you guys with hd and python skills do any fine tuning
Posts: 6
Joined: Aug 2005
Reputation:
0
maybe i'm being stupid, but i can't get the version of the xm script posted to run. i noticed a new line in the script in the config area called emulation, but i'm not sure what it means. would this keep it from running?
Posts: 6
Joined: Aug 2005
Reputation:
0
i apologize for taking so long to get back on this (life got away from me and i haven't had time to test it), but i still can't get it to run. i upgraded to the 9/26 cvs, and i configured runxm.py and settings.txt (i'm a little fuzzy on which one actually is handling the login in your version). unfortunately, every time i try to run it i get an error, "configure settings file. exiting." i have tried it both with that emulating line in the config section of runxm.py and with it commented out, since i still don't know if that needs something done, but neither seems to be making a difference. ideas? have you made a new build in the time that i've been away?
Posts: 2
Joined: Feb 2005
Reputation:
0
i am running "9-25 proper" xbmc using hd 1080i and the script works. i wiped my xbmc directory and just added the few changes in the xml file to load.
notes -
a bit slow to cache enough to play, but i haven't modified it like it says in the readme.
i did get it to lock up when i got impatient trying to shut it down or change channels, that is somewhat my own fault.
the text is kinda small, but that is expected for first run code viewed in hd, and it is mainly to listen to, not watch, so i am extremely happy for now...
-mike
Posts: 48
Joined: Sep 2005
Reputation:
0
del unison, could you do me a big favor and do this: after the script errors out, hit the white button and post the text from the debug window. that might help me shed some light on your issues. the script prints info about the exception that has occured to the debug screen. since the script is saying to check the settings file, there an exception is being raised. i know it's a pain in the butt to type whatever is on the screen but it'll help.
as far as the font being small in hd, i can't help this, i don't have an hdtv, so i have hard coded the script for my sdtv. if anyone wants to take my presentation code and make it work for hd, please do so, but i am not since i have no way to test this.
Posts: 48
Joined: Sep 2005
Reputation:
0
if you are having trouble getting the script to run, make sure that you are installing the script to the scripts directory, and not to a directory within the scripts directory:
xbmc\
|->scripts\
|
-->runxm.py
-->cachedhttp.py
-->clientcookie\
-->xmlib\
where xbmc is the root directory for xbmc. this is how this script must be installed to work properly. if you have trouble after doing this, then i am not sure what is wrong. i triple tested this program to make sure it ran.
Posts: 48
Joined: Sep 2005
Reputation:
0
thanks man. i will test it in a bit, i'm preoccupied with some other projects right now. everyone should feel free work on this. i have some updated code that i have worked on, but i do not feel like it is ready for release. i got a new computer this weekend, so i have been in the process of setting it up how i like (it's a compaq, so this takes a lot of time.)