PDA

View Full Version : Trailers in movie info page


m0gwai
2009-04-07, 22:20
Hey,

I've notice in the movie info details page, where you select thumb, fanart, that there's a trailer button which i can only assume should launch the trailer of the movie selected, unfortunately when i click it nothing happens, I'm pretty sure I'm missing something like a plugin or the ability to better check the forum but if anyone could walk me through how to make it work or link to a thread that does it would be greatly appreciated.

Thx

neurosis13
2009-04-07, 22:51
not every movie has trailers and not every trailer works.
that what i think.

CrashX
2009-04-07, 22:54
Please post full GUI Debug log .. If the trailer options is available to be clicked, then it should launch the trailer ..

smcnally75
2009-04-07, 22:58
Please post full GUI Debug log .. If the trailer options is available to be clicked, then it should launch the trailer ..

Says who?

CrashX
2009-04-07, 23:45
Why would you have a clickable trailer option if it didn't work ?

Correct me if I am work but I see the following in DialogVideoInfo.xml ...

<control type="button" id="11">
<description>Trailer</description>
<posx>55</posx>
<posy>150</posy>
<width>135</width>
<height>29</height>
<label>20410</label>
<font>font10</font>
<align>center</align>
<texturenofocus border="5">keyboard-btn-space.png</texturenofocus>
<texturefocus border="5">keyboard-btn-space-focus2.png</texturefocus>
<onleft>4</onleft>
<onright>4</onright>
<onup>12</onup>
<ondown>5</ondown>
<visible>!IsEmpty(ListItem.Trailer)</visible> </control>

m0gwai
2009-04-07, 23:54
can't say i have tried all my movies but i did try a bunch and none worked, also as far as i can tell it seems all of them have the trailer option to click so not sure it's working for some and not other, it looks it's not working at all

spiff
2009-04-07, 23:55
tons of the trailer links on imdb are georestricted iirc

coredalae
2009-04-07, 23:57
ye like almost all of them are georestricted :<

CrashX
2009-04-08, 00:06
m0gwai, where do you live ?

smcnally75
2009-04-08, 00:12
Why would you have a clickable trailer option if it didn't work ?

Correct me if I am work but I see the following in DialogVideoInfo.xml ...

<control type="button" id="11">
<description>Trailer</description>
<posx>55</posx>
<posy>150</posy>
<width>135</width>
<height>29</height>
<label>20410</label>
<font>font10</font>
<align>center</align>
<texturenofocus border="5">keyboard-btn-space.png</texturenofocus>
<texturefocus border="5">keyboard-btn-space-focus2.png</texturefocus>
<onleft>4</onleft>
<onright>4</onright>
<onup>12</onup>
<ondown>5</ondown>
<visible>!IsEmpty(ListItem.Trailer)</visible> </control>

Just because there is something in there also doesn't mean it is a valid URL.

psike
2009-04-08, 01:48
I have the same problem like m0gwai. All movies have the trailer button but nothing work.
I just thought that only if you have trailer movie file it will work so didn't thought it's a problem until now.

C-Quel
2009-04-08, 01:54
probably shitty url being returned...

grab it and try it in your browser to start!

CrashX
2009-04-09, 22:49
psike:-

Can you post full GUI Debug log ? I am just curious wheather XBMC logs this as an error ..

It would be nice if XBMC would popup a GUI error message saying it can't play the file due to error like how it does for plugins currently ...

psike
2009-04-09, 23:27
ok, It seems it's something with the Aeon skin that the trailer button is on. PM3HD skin have this button disabled.

I've also export my library to nfo files and there is no trailer url at all. Probley something wrong with the scraper, I'm using hebrew Sratim scraper.

BigBlack
2009-08-31, 15:10
Hey guys i found a possible cause but i'm not able to resolve it :P So I use for my library .nfo files created by Extreme Movie Manager (an italian software i think, i don't know if you know it) that creare .nfo files for XBMC... Now in the info file there is the trailer but XBMC return to coverflow of poster if you click it.. Instead if i don't use .nfo file the trailer it's played but in this case I don't see most of the film poster and i don't see title of film below but only genre... I post you a .nfo file so you can tell me if something on this it's wrong:
-----------
Twilight - Ac3 Ita Mp3 Eng - by Nylock.nfo
-----------
<movie>
<title>Twilight</title>
<originaltitle>Twilight</originaltitle>
<rating></rating>
<year></year>

<top250>0</top250>
<votes></votes>

<outline></outline>

<plot>Quando sua madre si accompagna con un altro uomo, Bella decide di andare a vivere con il padre, nella piovosa cittadina di Forks. (I'VE CUT IT.. TOOO LONG :P) </plot>
<tagline>Scrittrice e regista ridefiniscono i connotati del vampiro contemporaneo nel nome del “sublime” romantico </tagline>
<runtime>116 min</runtime>

<thumb>C:\Users\BigBlack\Documents\eXtreme Movie Manager\Databases\example_cover\1032-Twilight----Ita-Mp3-Eng---By-Nylock.jpg</thumb>

<mpaa></mpaa>

<playcount>0</playcount>

<watched>NOTSEEN</watched>

<id>tt</id>

<filenameandpath>D:\Download & Music\Dowload\Film Ok\Twilight - Ac3 Ita Mp3 Eng - by Nylock.avi</filenameandpath>

<trailer>http://www.mymovies.it/trailer/?id=56633</trailer>
<genre>Fantastico</genre>

<credits></credits>

<director>Catherine Hardwicke</director>







</movie>

spiff
2009-08-31, 15:24
a link to a web page with an embedded flash player != a media file

BigBlack
2009-08-31, 15:49
sorry i don't understand... can you be more clear? What i need to do? Or it can't play flash player? But from mymovies.it Xbmc with his scaper can reproduce that trailer.. Why from .nfo not? Where can i find the library created with XBMC scraper so i can compare them?

spiff
2009-08-31, 15:50
all scrapers sits in system/scrapers/video

you need a direct link to the FLV file, not a link to the WEB PAGE containing a embedded flash player which happens to play that FLV file.

BigBlack
2009-08-31, 15:53
ok now i've understand but where can i find a software that create the right .nfo file with italian language?

spiff
2009-08-31, 16:02
only one i know of is xbmc

BigBlack
2009-08-31, 16:32
however i substitute the trailer line with this

<trailer>http://www.mymovies.it/filmclub/2008/06/052/trailer.flv</trailer>

but trailer still not start? Now it is correct?

spiff
2009-08-31, 16:34
that is a correct url yes. did you rescan the movie? debug log is needed for help.

BigBlack
2009-08-31, 17:45
Ok i've updated and now the trailer go... so i've to modify the extreme movie manager script to search the file insted of link but i don't understand the language in the script... can you help me? I've upped file here: MYMOVIES.IT.txt - 27.3 Kb (http://www.uploadline.com/676818084526/MYMOVIES.IT.txt)
This is the file .nfo that create:
Awake.-.Anestesia.Cosciente.-.Subs.Pack.Ita-Eng.25.FPS.__RbK.nfo - 4.8 Kb (http://www.uploadline.com/497817110428/Awake.-.Anestesia.Cosciente.-.Subs.Pack.Ita-Eng.25.FPS.__RbK.nfo)

And this is the link to the movie trailer page: http://www.mymovies.it/dizionario/recensione.asp?id=55301


---------------
Then i've tryed to open my directory from another XBMC in the lan and happen a strange thing.. On my first pc i saw cover of all files less than 2 file... Instead on the second pc i see only the 2 cover that on the first pc i don't see.. Why these? I notice that for theese 2 files there isn't the .nfo file.. How can i solve that? I need to use XBMC on 5 pc in lan...

BigBlack
2009-09-01, 16:05
i've modified the mymovies.it import script of Extreme movie manager and now it go... :) I publish the trailer's lines to substitute to mymovies.txt

#TRAILER#

#IF# #85#==#00#
//Non importare TRAILER
#GOTO#=NONPRENDITRAILER
#ENDIF#

#STARTREADWEB#
#FINDLINE#=file=http://www.mymovies.it/filmclub/#12# #ONERROR#=*STOP*
#FIND#=filmclub/#12# #ONERROR#=*STOP*
#FIND#=/#01# #ONERROR#=*STOP*
#FIND#=# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#STRING#=#33#=http://www.mymovies.it/filmclub/#03#
#TAKETRAILER1#=#33#

#STARTREADWEB#
#FINDLINE#=http://www.mymovies.it/trailer/?id=#12# #ONERROR#=*STOP*
#FIND#=id=#12# #ONERROR#=*STOP*
#FIND#==#01# #ONERROR#=*STOP*
#FIND#="#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#STRING#=#33#=http://www.mymovies.it/trailer/?id=#03#
#TAKETRAILER2#=#33#



#RESTOREWEB#

:NONPRENDITRAILER
#ENDTRAILER#

To continue seeing the trailer also in extreme movie manager you have to select the second trailer link. Bye bye and thankx to all