• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 8
[RELEASE] YouTrailer (Script) - Movie Trailers
#31
Bit of a delay! Spent my lunch PHP'ing. HEHE
Will take a look after work Big Grin
Reply
#32
Are you still working on this script, I think it's great.

The FMT=18 works with half of my movie library. The other half I get an error like 'This movie is removed' or nothing and the log file states:
Code:
10:50:15 T:1844 M:3039141888  NOTICE: [SCRIPT] 'YouTrailer: version 0.4' initialized!
10:50:15 T:2880 M:3039129600  NOTICE: DVDPlayer: Opening:
10:50:15 T:2880 M:3039125504 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
10:50:15 T:2396 M:3039113216  NOTICE: Creating InputStream
10:50:15 T:2396 M:3039113216   ERROR: CDVDPlayer::OpenInputStream - error opening []
10:50:15 T:2396 M:3039109120  NOTICE: CDVDPlayer::OnExit()
10:50:15 T:2396 M:3039105024  NOTICE: CDVDPlayer::OnExit() deleting input stream
10:50:15 T:2880 M:3039055872  NOTICE: CDVDPlayer::CloseFile()
10:50:15 T:2880 M:3039055872 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
10:50:15 T:2880 M:3039055872  NOTICE: DVDPlayer: waiting for threads to exit
10:50:15 T:2880 M:3039055872  NOTICE: DVDPlayer: finished waiting
10:51:02 T:2880 M:3045924864  NOTICE: DVDPlayer: Opening:
10:51:02 T:2880 M:3045924864 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
10:51:02 T:1896 M:3045826560  NOTICE: -->Python Interpreter Initialized<--
10:51:02 T:1448 M:3045793792  NOTICE: Creating InputStream
10:51:02 T:1448 M:3045761024   ERROR: CDVDPlayer::OpenInputStream - error opening []
10:51:02 T:1448 M:3045761024  NOTICE: CDVDPlayer::OnExit()
10:51:02 T:1448 M:3045756928  NOTICE: CDVDPlayer::OnExit() deleting input stream
10:51:02 T:1896 M:3045785600  NOTICE: [SCRIPT] 'YouTrailer: version 0.4' initialized!
10:51:02 T:2880 M:3045683200  NOTICE: CDVDPlayer::CloseFile()
10:51:02 T:2880 M:3045683200 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
10:51:02 T:2880 M:3045683200  NOTICE: DVDPlayer: waiting for threads to exit
10:51:02 T:2880 M:3045683200  NOTICE: DVDPlayer: finished waiting

Also. The HD files would be great to implement. I'm not a Python writer, but I'm thinking in the line of
If [link..fmt=22] = 1 Then [link..fmt=22] Else [link..fmt=18]

Then you would get 720p if it's available Smile
Reply
#33
i've got the same problem with some quality that are unavailable on allocine, i've put a select dialog to choose quality if the current is unavailable
Reply
#34
ppic Wrote:i've got the same problem with some quality that are unavailable on allocine, i've put a select dialog to choose quality if the current is unavailable

Would like to share this code or dialog? I'm very interested!
Reply
#35
you can find it in my last bande annonce allociné vidéo plugin
Reply
#36
Ummm. This quality feature is already implemented. Get version 0.7. Then run the script from SCRIPTS to choose desired qualiaty. it will try get that quality and if not available, gets the next quality down
Reply
#37
Thank you, but I still haven't got my version working yet.

I have newest XBMC Nightly Build r28256 along with the Rapier skin and YouTrailer 0.7 version. I've set up my script settings and in my Includes_MenuBar.xml I have this:
Code:
            <control type="button" id="812">
                <description>Play Trailer</description>
                <label>20410</label>
                <include>MenuBarSettingsBtn</include>
                <onclick>RunScript(special://home/scripts/YouTrailer/default.py, 1)</onclick>

When I click the Trailer button for a movie which has no local trailer I still get the following error: "Failed to access XBMC Database"

Any Ideas?
Reply
#38
hi,
i keep getting "Movie not found in database".
might be because i'm using themoviedb.org scrapper?..
Reply
#39
Same problem here, and I'm using themoviedb scraper. Version 0.5 worked it just wouldnt display the high quality trailers.
Reply
#40
Hello,

Can somebody please post a good working dialogvideoinfo.xml for Confluence? I'll keep trying and i keep getting errors.

There's probably someone with a good working one..

Tnx
Grz.
Reply
#41
I got it running so far that the trailer is downloading from yt, but when it has reached 100% nothing more hapens? Am I supoused to do something else after downloading the trailer, or is something wrong? Shuld the trailer start automatic after the dl has reached 100%?
Reply
#42
pressing the button does nothing for me on mac camelot confluence, no error nothing. Strange.
DialogVideoInfo.xml
Quote:<control type="button" id="815">
<description>Play Trailer</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>20410</label>
<onclick>RunScript(special://home/scripts/YouTrailer/default.py,"$INFO[listitem.filename] ","$INFO[listitem.path] ")</onclick>
</control>
Plugin is in Place, play trailer button always shows. Am I missing anything?

OK now runs as the script has to be in plugin dir not in Plugin/common or private

Still gives me error : cant access XBMC library same error as Kibu

I rescanned my DB with themoviedb but still the same error.
Reply
#43
roads Wrote:pressing the button does nothing for me on mac camelot confluence, no error nothing. Strange.
DialogVideoInfo.xml

Plugin is in Place, play trailer button always shows. Am I missing anything?

OK now runs as the script has to be in plugin dir not in Plugin/common or private

Still gives me error : cant access XBMC library same error as Kibu

I rescanned my DB with themoviedb but still the same error.
Wrong "<onclick>RunScript...", see:
http://forum.xbmc.org/showthread.php?tid=69593

You need to use imdb-scraper, see:
http://forum.xbmc.org/showpost.php?p=505...stcount=27

This thread isn't that long ^^ Pretty easy to find the answers..
Reply
#44
Yeah Trey I read the whole thread and tried both the IMDB and the TMDB Scrapers.
I also used <onclick>RunScript(special://home/scripts/YouTrailer/default.py,1)</onclick>
and still I get the error you also got. So I would love to find that easy answer you speak of.

Edit: I had the Trailers disabled in the IMDB scraper settings so I am rescanning with that button on now. Hope that’s the problem.
Edit2: Nope still cant access XBMC library.
Reply
#45
Nice script Nod

I added a button to video info sceen in MiniMeedia Waffa! to run your script.
In skinsettings/video you need to enable it and set path. to script.
Btw The normal trailer button is also still present in skin. (enabled script setting local trailer)
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 8

Logout Mark Read Team Forum Stats Members Help
[RELEASE] YouTrailer (Script) - Movie Trailers0