PDA

View Full Version : myTV works Perfectly, but...


joshgambit
2006-01-07, 08:40
i thought this would work under the my videos submenu:

<bookmark>
<name>tv channel listings</name>
<path>f:\apps\xbmc\scripts\mytv\mytv.py</path>
</bookmark>

but it doesn't work. you can click it, but it doesn't do anything. any ideas to make this work? is this something that's possible, because i couldn't find anything...

thanks!

HarshReality
2006-01-07, 11:57
just a guess....

instead of path, how about <execute>yadda</execute>

joshgambit
2006-01-07, 16:16
i tried doing that and i also tried adding <path> </path> around it...

i'm just out of ideas...there's got to be a way to do this...right?

jmarshall
2006-01-08, 22:44
not that way, no.

a bookmark is a file source. it's not a generic container for whatever you like.

add a button to the myvideos skin file instead.

Asteron
2006-01-09, 01:35
hmmmm as a super hack you might be able to create a .pls file which contains the address of the url web server with an httpapi command to execute the script. kinda tricky.

joshgambit
2006-01-09, 04:38
not that way, no.

a bookmark is a file source. *it's not a generic container for whatever you like.

add a button to the myvideos skin file instead.
fantastic! it worked perfectly.

what i ended up doing was changing the bookmark button 1 to my tv listings button & making it visible. now, one more question... is the following necessary? i only ask because i need to press down twice to get from the playlists button to the tv listings button.

<control>
<description>stacking</description>
<type>button</type>
<id>7</id>
<posx>50</posx>
<posy>268</posy>
<label>346</label>
<onleft>50</onleft>
<onright>50</onright>
<onup>13</onup>
<ondown>31</ondown>
</control>

thanks a bunch!

jmarshall
2006-01-09, 04:53
only if you use it. you could always just swap the positions and navigation around.

joshgambit
2006-01-09, 05:15
excellent...that worked like a charm.

now to do the same for the other scripts under the myprograms.xml too!

thanks for the help!!