Posts: 843
Joined: Mar 2008
The most annoying bit is actually resolving the flv or avi files in their original form as most video sites use an embedded format not the true media file that xbmc needs to play.
But all of that is pretty much wrapped up and done now, so you can just copy and paste my resolving code to Megavideo,guba,youtube,google,globo,altertube etc
The Re is the fun bit hehe.
Posts: 843
Joined: Mar 2008
Search the forum young Matt777, use the force. . . . .idx . . . . .
And if you are going to make a plugin , i suggest listening to AC/DC & Journey.
Posts: 47
Joined: Oct 2007
Reputation:
0
Thanx voinage great work.
Just a quick query- n some plugins eg. Divvn, Watch online, Tv Shack, Quicksilver.
Im getting a error message when I try to play a video:
Playlist playback aborted
Too many consecutive failed items
Anyone know how to fix this?
Thanks, Matt
Posts: 843
Joined: Mar 2008
Try the new versions of the plugins from my google code page.
Should help, if not try clean xbmc install.
Posts: 1,331
Joined: Jan 2008
Reputation:
3
rwparris2
Team-XBMC Python Developer
Posts: 1,331
voinage, or others:
can i have an EXTREMELY simple plugin that lets me type in a a url (like youtube.com/watch?v=asdlkj, or whatever youtube's format is), finds the video from that page, then plays it?
also could it have lots and lots of comments?
can the variables have long, yet easy to understand names? (flv_url or page_url as opposed to flU or pU)
I'm trying to write my first plugin, but I'm coming from a completely non-coding background (aside from basic php stuff... logins, db access), so looking at source files on a lot of these plugins is somewhat intimidating... there is so much going on and so many things are calling on eachother that it's hard for me to break it to "this function does this, then this one does that, then..." so that I can understand it and manipulate it for my needs.
This would be hugely helpful to me and I'm sure some of the others.
Posts: 843
Joined: Mar 2008
2008-06-12, 10:42
(This post was last modified: 2008-06-12, 10:46 by Voinage.)
The Tutorial is nearly finished, images and comments on each Block of code used.
My thought processes during the plugin.
Sample python files and a Plugin template.py, Regular expression tester.
Each Function has a detailed walkthrough as well as instructions on how to hunt for video links Using Wireshark.
The Tutorial only covers the Python code used in 'Non Fancy code Plugin' creation.
Chapters.
Introduction.
Commentary by me.
Selecting your target website.
Re Expressions, Screen Scraping and the snake.
Categories and Directory structure.
Urllib2 and You.
The addDir(name,url,mode,thumbnail) - function.
The addLink(name,url,thumbnail) - function.
The VIDEO(name,url) - function
Resolving "TRUE" Video and Sound formats for Mplayer/DvdPlayer.
A picture is worth a thousand words - How to grab a thumbnail for your Dir`s.
The Mode selection and function calls.
Negotiating the Murky depths with Wireshark.
Polishing your Plug-in, stop being rude.
The final stages.
Finished !
Hope this helps.
Give me a day or two and then get started.
Cheers Voinage
Posts: 843
Joined: Mar 2008
2008-06-13, 14:42
(This post was last modified: 2008-06-13, 14:47 by Voinage.)
I`m working on all of the above, apart from sky & hulu.
Looking into channel 4.
The tutorial is nearly done it uses meelu.com for the main content, urllib2 and re but shows via trying to grab from google the pitfalls of urllib without headers.
It`s all good - just don`t have enough time.
I will start to release soon.
Add to that : 99% Sirius plugin.
Google Video : As above currently enjoying Stand-up from everywhere in full high quality.
search Veoh,google,youtube,56.com,tudou,youku,myspace,dailymotion,guba and a few others.
set search duration & search only & set download dir via white button context menu.
Added library mode sort method for the monitor worms.
Also a few others that i have found along the way.
Including Audio plugs for a change.
Will have to make some program plugs, pictures is outside the headmasters office, soon so it doesn`t feel left out hehe.
Cheers Voinage.