• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 39
[RELEASE] VideoMonkey - a video plugin for YouTube, Dailymotion, and everything else!
#31
sfaxman Wrote:right click -> plugin settings

... right click is the 'white' button of the joystick or the 'title' button of the remote. Have you edited the xml file manually everytime you wanted the change the player Eek ?

sfaxman...
Reply
#32
Hi,

adult "contents" does not work for me... No even when the plug configuration allows it... most interesting cause XBMC rarity...

XBMC from 15.07.

Greetz
Reply
#33
Maybe it will be good to provide PLAYER_CORE_AUTO in the plugin settings. Then we will have:

- PLAYER_CORE_AUTO
- PLAYER_CORE_DVDPLAYER
- PLAYER_CORE_MPLAYER

PLAYER_CORE_PAPLAYER and PLAYER_CORE_MODPLAYER are not yet mature i think (correct me if i am wrong Confused).

sfaxman...
Reply
#34
Hey, nice sfaxman. Sounds like a realy awesome script!

unfortunatelly, I am not able to run it. I only get an error "Error running VideoMonkey. Reason: list index out of range"

I tried with my "old" june 16th build of XBMC. It go that error and updated assuming there were some changes to the python engine. Still, with july 15th build I get the same error.

I am running the "current" version of your script, dated july 15th as well.
Reply
#35
Nevermind, realy. I tried running it as a script, i just realized it's a plugin. Smile
Reply
#36
I tested the plugin under windows and no mms stream could be played Stare
Everything else seems to work.

The idea of funkytown has been merged and a couple of pages fixed Rofl

Bye,
sfaxman...
Reply
#37
Hey everyone!

Danke für die neue version, sfaxman!

I have yet another idea for improvement.
ZDF-Mediathek on XBMC is great. There is one annoying thing though:
When i want to watch the newest episode of a specific show, its hard to find out which item is the most recent, because right now the videos are not sorted by date.
So why not use the power of XBMC by specifing a video-date. This is possible via the listitem.setInfo command:

Code:
listitem.setInfo("video", {"Title":titlevariable, "Date": datevariable})

Now the videos can be sorted by date.

I dont know exactly what date format is expected (a documentation about the plugin api is still missing).
From a quick look at the code of Apple Movie Trailer Plugin, its probably YEAR-MONTH-DAY format.

The date for the ZDF video can be extracted with regex from the json "assetUrl" tag which is e.g.
....zdf.de/zdf/veryhigh/080714_leinhos_hjo.asx
The date of this video is 2008-07-14.

As i am neither good at regex nor python here are just some code snippets to help sfaxman to include this idea in an upcoming release:

in file zdf.de.cfg:

Code:
video_date=assetUrl\":%SOME REGEX EXPRESSION%

in file default.py:

line 775
Code:
# datecatcher = regex from assetUrl so it will read 080714
# postdate = rewrite 080714 to 2008-07-14 which is the format xbmc listitem.setinfo expects
if (video_date != ''):
    try:
        date_catcher = video_date % (url)
    except:
        date_catcher = video_date
     redate = re.compile(date_catcher, re.IGNORECASE + re.DOTALL + re.MULTILINE)
     postdate = 20+"%s-%s-%s" % ( redate[ : 2 ], redate[ 3 : 4 ], redate[ 5 : ], )
     datesearch = postdate.search(data)
     try:
         date = datesearch.group(1)
     except:
         traceback.print_exc(file = sys.stdout)
         date = '0000-00-00'
     tmp.date = date.lstrip().rstrip()
     if (len(tmp.date) == 0):
         tmp.date = '0000-00-00'
line 945
Code:
# add date information of video via setinfo only if date is set ; else only set title
if self.date != '':
    listitem.setInfo("video", {"Title":title, "Date": date})
else:
    listitem.setInfo("video", {"Title":title})
line 1110
Code:
# add sort method "date" to directory only if date is set
if self.date != '':
  xbmcplugin.addSortMethod(handle = self.handle, sortMethod = xbmcplugin.SORT_METHOD_DATE)

Have a nice day! Big Grin
Reply
#38
Hi funkytown,

i am planning to support the itemInfos "Size", "Rating", "Genre", "Duration" and "Date"...
... and the respective sort methods SORT_METHOD_SIZE, SORT_METHOD_GENRE, SORT_METHOD_DURATION, SORT_METHOD_VIDEO_RATING and SORT_METHOD_DATE.

but do not expect them too soon Oo .

Bye,
sfaxman...
Reply
#39
VideoMonkey with YouTube fix is now in the plugins online repository Nod (thx Nuka1195)

>link<

sfaxman...
Reply
#40
Big Grin 
Hi friends Big Grin,

Try the new video plugin "VideoMonkey" from here or from the plugins online repository.

I took many ideas from available XBMC PlugIns (Many thanks to every devoloper here).

Everyone with basic RegEx knowledge (like me) can add new video site catchers easily (see file youtube.com.cfg). YouTube (com, de, fr, nl), Dailymotion (com, de, fr, nl), Metacafe and others are included. Adult content can be enabled through the plugin settings. Feel free to post new suggestions or critics.

For technical discussions please use this thread.

Bye,
sfaxman...
Reply
#41
added swedish translation to videomonkey, also i changed a line in all the translations

'Xbox Media Center' which is the old abandoned name, into 'XBMC Media Center'
Reply
#42
blittan Wrote:added swedish translation to videomonkey, also i changed a line in all the translations

'Xbox Media Center' which is the old abandoned name, into 'XBMC Media Center'

Cool!!! Big Grin Thank you. Dailymotion swedish has just been added Wink

sfaxman...
Reply
#43
not sure if it's been reported yet, but pornhub doesn't show files, and the search in redtube doesn't work either. I'd try taking a stab at fixing them, but I don't have a clear understanding of even where to start with regex. It would be nice to see the adult content working in this plugin as I believe it's the only plugin/script that's semi working in that area.
Reply
#44
Kryptik Wrote:not sure if it's been reported yet, but pornhub doesn't show files, and the search in redtube doesn't work either. I'd try taking a stab at fixing them, but I don't have a clear understanding of even where to start with regex. It would be nice to see the adult content working in this plugin as I believe it's the only plugin/script that's semi working in that area.
I confirm that pornhub is broken... but redtube works incl. search function (old version? Huh).
I will try to keep this download link up to date as not everyone wants to checkout the svn.
It will be better if we keep this thread for technical discussions and use this one for user support and wisches.
BTW i just added arte+7 in the TV section Cool (thx to the writer of original plugin).

sfaxman...
Reply
#45
hello, thanks for the quick reply, I'll update my version, I had just downloaded it the day before yesterday I believe. Curious if you've thought of writing a little tutorial on adding more sites to make it more comprehensive to your plugin specifically. I was curious if a catcher is necessary to play videos from a site or just to download them, cause many sites don't have compatible catchers. The format of adding sites seems fairly easy, as the changes between each .cfg are simple, but I'm not clear on what exactly I'm trying to process from each site.
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 39

Logout Mark Read Team Forum Stats Members Help
[RELEASE] VideoMonkey - a video plugin for YouTube, Dailymotion, and everything else!4