Kodi Community Forum
Begging scripters for internet-TV "links" script... - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/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


- demogorgan - 2007-08-02

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

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

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

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

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

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

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

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

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

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?


- Nuka1195 - 2007-08-05

GUIBuilder was useful in it's time. You should really use WindowXML.

Apple Movie Trailers is a good example Smile with context menu.

If you want to see how easy using windowXML, grab the changelog script from SVN. It's a very simple script. As this script get's more popular it would be a good choice to allow skinners to support it. Better to start now, before you add too much more to the script.

http://xbmc-scripting.googlecode.com/svn/trunk/XBMC%20Changelog

Edit: AMT also has an example of using the different cores (DVDPlayer and MPlayer) based on the trailer type.


- Unbehagen - 2007-08-06

Nuka1195 Wrote:AMT also has an example of using the different cores (DVDPlayer and MPlayer) based on the trailer type.
It's not that hard to add differenct cores based on the file type. What I'm interested in is what player core works best for you with the media available at TVLinks, especially FLVs.


- matthuisman - 2007-08-06

Hey pvtschlag and Unbehagen,

I think you two need to team up on these
I am also interested in helping out if you guys wouldn't mind.
I am interested for this to follow AMT's footsteps and move over
to a database and enable Search and also so it can store the information
so everytime the script is loaded, it won't have to fetch all the data.
I also would like to add in a Favourites option,
and move it over to winxml and make it look SLEXY!

Also, we would need to move over to a SVN, i nominate:
http://code.google.com/p/xbmc-scripting/

Then we can each keep uptodate with each other :-D
Im no good at URL parsing etc, but anything else i can usually do.

Also, we then could add in a self updating feature like Xbmc lyrics and XinBox.

What ya's think?

Cheers,
Stanley87


- Unbehagen - 2007-08-06

stanley87 Wrote:Hey pvtschlag and Unbehagen,
I think you two need to team up on these
II tried to contact pvtschlag a couple of times via email, but didn't get any response.
Quote:I am also interested in helping out if you guys wouldn't mind.
That's great, I'd be glad to have as many people as possible working on this!
Quote:I am interested for this to follow AMT's footsteps and move over
to a database and enable Search and also so it can store the information
so everytime the script is loaded, it won't have to fetch all the data.
I also would like to add in a Favourites option,
and move it over to winxml and make it look SLEXY!
I'm up for another option. I'm not very satisfied with the look and feel of media streaming scripts in XBMC. I'm also not so much into writing XML with an editor myself. Because of that laziness, I contacted the devs to have those scripts integrated as some kind of plugin into the videos screen of XBMC, look here for more information on that: http://forum.xbmc.org/showthread.php?tid=27760. Starting something like what you proposed would only be my second option.

Quote:Also, we would need to move over to a SVN, i nominate:
http://code.google.com/p/xbmc-scripting/

Then we can each keep uptodate with each other :-D
Im no good at URL parsing etc, but anything else i can usually do.
SVN access would be great, but only if we can reach pvtschlag. Otherwise I would start recoding the script to not have license issues. I just don't yet know how pvtschlag feels about my releases.
Quote:Also, we then could add in a self updating feature like Xbmc lyrics and
Yes, maxbe later...

Cheers, Hagen


- pvtschlag - 2007-08-06

stanley87 Wrote:Hey pvtschlag and Unbehagen,

I think you two need to team up on these
I am also interested in helping out if you guys wouldn't mind.
I am interested for this to follow AMT's footsteps and move over
to a database and enable Search and also so it can store the information
so everytime the script is loaded, it won't have to fetch all the data.
I also would like to add in a Favourites option,
and move it over to winxml and make it look SLEXY!

Also, we would need to move over to a SVN, i nominate:
http://code.google.com/p/xbmc-scripting/

Then we can each keep uptodate with each other :-D
Im no good at URL parsing etc, but anything else i can usually do.

Also, we then could add in a self updating feature like Xbmc lyrics and XinBox.

What ya's think?

Cheers,
Stanley87

Sounds like a great idea to me. Big Grin