XBMC Community Forum
Begging scripters for internet-TV "links" script... - 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: Begging scripters for internet-TV "links" script... (/showthread.php?tid=25770)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


- demogorgan - 2007-08-02 11:37

Spanner Wrote:Ah. That sounds like it could be the problem then, eh? Veoh is only sending a preview, rather than the full thing. Perhaps there's a way to either log into Veoh from XBMC as Demogorgan says (maybe even automatically when the script starts? Sorry if this is a tall order or utterly impractical/impossible. I know precisely nothing about programming Laugh), or either pull up info on the video first so we know where it's streaming from before beginning to watch. At least that way we'd know if it's a preview and likely to get cut off.
I wonder if logging into Veoh from the PC and staying logged in will prompt Veoh to send the full video to XBMC? Is that how it works (sorry - bit of a dunce when it comes to all this stuff Smile )?
Still, this is one step closer to figuring out the problem, so thanks for mentioning it, Demogorgan.
Does anyone know if there are any other sites that work this way (with the preview thing for non-members)?




when you click on the link you can look at where it is caching the video from and it will say preview sometimes can be lucky and it will play the whole thing othertimes not lol as for the logging in part i think it has something to do with the ip address so if there was a browser on xbmc could try it that way see if that works ? i dont no that much about the xbmc am still learning at the moment


Updated TVLinks script with Project Mayhem III-like skin - Unbehagen - 2007-08-04 02:16

Hey,
I just updated my version of pvtschlag's fine script. It is edited to match the Project Mayhem III skin. I also changed a few lines so that some media, Stage6 Divx for example, is playable again - TVLinks seems to have changed their URL scheme. The veoh URLs are still the same though. Some of them keep being preview links and randomly stop during streaming.
You can find it here: http://theendofthelongestline.de/tvlinks.zip

Hagen


- Unbehagen - 2007-08-04 19:06

Here is an updated version that can also download the selected episode to the XBox hdd. Just press the "INFO" button on your remote. This is especially useful for slow video hosters like toudou.com and others. Have fun!

http://www.theendofthelongestline.de/TVLinksPM3Download.zip


- mby2j - 2007-08-04 19:53

Unbehagen Wrote:Here is an updated version that can also download the selected episode to the XBox hdd. Just press the "INFO" button on your remote. This is especially useful for slow video hosters like toudou.com and others. Have fun!

http://www.theendofthelongestline.de/TVLinksPM3Download.zip

Hi, ive just downloaded it and it looks great, 1 question though, how do you record using the xbox pad and not the remote control?


- Unbehagen - 2007-08-04 20:47

mby2j Wrote:Hi, ive just downloaded it and it looks great, 1 question though, how do you record using the xbox pad and not the remote control?

Edit the default.py and find the line:
Code:
            if action == ACTION_SHOW_INFO:
and change ACTION_SHOW_INFO to any of:
Code:
ACTION_MOVE_LEFT
ACTION_MOVE_RIGHT
ACTION_MOVE_UP
ACTION_MOVE_DOWN
ACTION_PAGE_UP
ACTION_PAGE_DOWN
ACTION_SELECT_ITEM
ACTION_HIGHLIGHT_ITEM
ACTION_PARENT_DIR
ACTION_PREVIOUS_MENU
ACTION_SHOW_INFO
ACTION_PAUSE
ACTION_STOP
ACTION_NEXT_ITEM
ACTION_PREV_ITEM
See if this works for you.


- mby2j - 2007-08-04 21:35

Unbehagen Wrote:Edit the default.py and find the line:
Code:
if action == ACTION_SHOW_INFO:
and change ACTION_SHOW_INFO to any of:
Code:
ACTION_MOVE_LEFT
ACTION_MOVE_RIGHT
ACTION_MOVE_UP
ACTION_MOVE_DOWN
ACTION_PAGE_UP
ACTION_PAGE_DOWN
[color=Red] ACTION_SELECT_ITEM[/color]
ACTION_HIGHLIGHT_ITEM
ACTION_PARENT_DIR
ACTION_PREVIOUS_MENU
ACTION_SHOW_INFO
ACTION_PAUSE
ACTION_STOP
ACTION_NEXT_ITEM
ACTION_PREV_ITEM
See if this works for you.

Thanks, I changed it to Action_Select_Item and now when you select the item it asks you if you wish to download it first, click cancel and then it will play. Can confirm that the download fuction works perfectly! Thanks Unbehagen & obviously Pvtschlag for the fantastic script Big Grin


- Unbehagen - 2007-08-04 23:14

mby2j Wrote:Thanks, I changed it to Action_Select_Item and now when you select the item it asks you if you wish to download it first, click cancel and then it will play. Can confirm that the download fuction works perfectly! Thanks Unbehagen & obviously Pvtschlag for the fantastic script Big Grin
I think I found a better solution:

Within the first lines with all the ACTION_... constants definitions, add the following:
Code:
ACTION_CONTEXT_MENU     = 117
and replace
Code:
if action == ACTION_SHOW_INFO:
with
Code:
if ((action == ACTION_SHOW_INFO) or (action == ACTION_CONTEXT_MENU)):
After this, you can press the A button to stream and the white button to download media (on the pad). If you use the remote, the Enter button plays media and the info button downloads it.


- SyPhy - 2007-08-05 05:58

Unbehagen Wrote:I think I found a better solution:

Within the first lines with all the ACTION_... constants definitions, add the following:
Code:
ACTION_CONTEXT_MENU     = 117
and replace
Code:
if action == ACTION_SHOW_INFO:
with
Code:
if ((action == ACTION_SHOW_INFO) or (action == ACTION_CONTEXT_MENU)):
After this, you can press the A button to stream and the white button to download media (on the pad). If you use the remote, the Enter button plays media and the info button downloads it.

why not upload an updated version of the script with this slight mod? no big deal to edit it, just makes it easier for everyone... AND THANKS FOR THE DOWNLOAD OPTION! great work


- Unbehagen - 2007-08-05 06:27

SyPhy Wrote:why not upload an updated version of the script with this slight mod? no big deal to edit it, just makes it easier for everyone...
here you go!
http://theendofthelongestline.de/TVLinksPM3DownloadRemotePad.zip


- Unbehagen - 2007-08-05 06:35

BTW: I experienced that if you download FLV files and later play them using the file manager or video browser, XBMC automatically chooses the DVDPlayer core, not the MPlayer one. This seems to be a good choice, because fast forwarding and other stuff works better with this core in the version of XBMC I'm using. Could anyone try this? I would make the other player core the default in the script then.
To the scripters: I would like to create a context menu to offer more complex operations and settings for videos. I'm thinking of a context menu like for example the one that shows if you press info/white button on a game in the programs browser. I found this in other scripts like the youtube one, but it all seemed to involve this guibuilder xml stuff, which i'd like to stay away from for now. Anyone got an idea on how to solve this task?