Sign up here and you can log into the forum!

** updated 01/06/2013** Plugin: Trailers 2.8

The WDTVExt plugin depot. Plugins/libraries/code only

** updated 01/06/2013** Plugin: Trailers 2.8   

Postby KAD » Tue Feb 07, 2012 8:57 pm

this works perfectly here

I was unable to produce the error's reported of loading screen staying on
added a timer, which might help

General Info
This Plugin finds and plays Trailers from http://www.IMDB.com for local or network media files

Search Order is - visit WEC to enable/disable search options
existing Local Trailer
.tgmd file
.nfo file
Search Based on Name

Default Download location is the location of your movie file.
Files are downloaded as .<Title>_Trailer.mp4

Change Log

January 6th 2013 v 2.8
fixed plugin due to api change
add ability select the play trailer button, valid options (Stop, Search, FFWD, REW) Default is still Search
add timer, hopefully that will prevent loading screen from staying on, (I was unable to produce the errors reported)

October 30th 2012 v2.7
improved name search function

October 25 2012 v2.6
added support for cookies, now required to get valid response from imdb
remove special characters from name search criteria
added more checks to prevent loading screen from staying on, if name search fails

October 22 2012 v2.5
prevent loading screen from staying on, when name search fails

October 16 2012 v2.4
remove Trailer found icon and function
don't begin search till search key is pressed

June 30 2012 v 2.3.1
fix search by name (due to api change)

May 20 2012 v 2.3
Assign File and check if file exist instead of using find
Add additional parameters to remaining find cmd
Update WEC, so that it makes sense

March 14 2012 v 2.2
Prevent Download text on screen from appearing if other plugins access video_ex_playing.xml
added customizable search options (Local, TGMD, NFO, Name)
improved file/folder selection process

March 3 2012 v 2.1
Stopped code from running while browsing Media Servers
fixed failed SetAVTransportURI for Titles with ' in the name
added .nfo support for alternate directory
added check if trailer already exist

February 19 2012 v 2.0
fixed upnp-meta
fixed incorrect file name during playback
streamlined search structure (removed 50 lines of code without functionality loss)
fixed wrong selection issue
Stopped code from running while browsing music or photos
Change Play Trailer to use Search Button (now compatible with MediaMark)
fixed code stops
added support for alternate directory (Downloaded Trailers & Metafiles)
added Download option (Press Search while Trailer is Playing)
added Download Text on Screen
added Loading Screen

February 7 2012 v 1.0
Original Release

Download
use WDTVext menu on screen to download

Feedback welcome

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Plugin: Trailers (functional beta)   

Postby RavRob » Wed Feb 08, 2012 3:27 am

Not sure if that would interfere with MediaMark but that plugin also uses the stop button. Press Stop to mark or unmark the movie as seen.
Windows 10
WDTV Live
1.02.21 WDLXTV 0.5.1.4 (Beta)
Linksys - WUSB600N USB Adapter
DLink - Dir-655 Router
Atheros - AR8131 PCI-E Gigabit Ethernet Controller (NDIS 6.20)
Kodi - The Future of Television
User avatar
RavRob
Supporter
 
Posts: 1396
Joined: Fri Apr 16, 2010 9:57 am
Location: New-Brunswick, Canada

Re: Plugin: Trailers (functional beta)   

Postby hobbitjack » Wed Feb 08, 2012 5:43 am

Sounds interesting, so just to make sure I've understood this correctly, i install the plugin, then navigate my movies as normal, VIDEO --> Local device --> USB and upon pressing stop, it will play the trailer for the selected move?

If so AWESOME! Ill be flashing back to an older fw tonight :D.
hobbitjack
Donor
 
Posts: 54
Joined: Thu Apr 21, 2011 9:35 am

Re: Plugin: Trailers (functional beta)   

Postby superbigjay » Wed Feb 08, 2012 5:48 am

Looks pretty cool Kad!
I'll give it a try soon enough...

To get accurate results we need to put the tgmd or nfo file inside the same directory as the movie video file?

Would it be easy to be able to use the MSHEETDIR and have all metadata files (tgmd or nfo) in the same location?

Jay :geek:
WDTV-LIVE-PLUS : WDLXTV-PLUS ver 0.5.1.1 (FW Base 1.05.04)
WDTV-LIVE : WDLXTV-LIVE ver 0.5.1.1 (FW Base 1.05.04)
... and also a PBO : MEDE8ER 1026
superbigjay
OCDLXer
 
Posts: 236
Joined: Sun Sep 04, 2011 7:58 am
Location: Montreal, Quebec, Canada

Re: Plugin: Trailers (functional beta)   

Postby KAD » Wed Feb 08, 2012 8:43 am

@RavRob, I wondered if this might conflict with mediamark, and my guess is it probably will, but I'm not sure how to work around it, when looking at the remote, we don't have very many buttons that are not in use already

I tried to catch the EJECT button, and failed, but if anybody has idea's on how to make it compatible that would be great
actually, Ideally, I would have wanted to make use of 2 buttons, 1 for playback and 1 to open a download menu

@hobbitjack, that's exactly what this does 8-)

@superbigjay, probably possible, but maybe not practical to try and implement searching for .tgmd or .nfo files in other locations
I'll think about it a bit, maybe I'll come up with some way that's not to difficult to implement

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Plugin: Trailers (functional beta)   

Postby superbigjay » Wed Feb 08, 2012 10:03 am

Cool, let me know if you find something...

The associated tgmd file or nfo file would simply be
$MSHEETDIR/$FILENAME.tgmd

where
$MSHEETDIR is the path where the moviesheets and metadata are
$FILENAME is the video file name

Cheers
Jay :geek:
WDTV-LIVE-PLUS : WDLXTV-PLUS ver 0.5.1.1 (FW Base 1.05.04)
WDTV-LIVE : WDLXTV-LIVE ver 0.5.1.1 (FW Base 1.05.04)
... and also a PBO : MEDE8ER 1026
superbigjay
OCDLXer
 
Posts: 236
Joined: Sun Sep 04, 2011 7:58 am
Location: Montreal, Quebec, Canada

Re: Plugin: Trailers (functional beta)   

Postby hobbitjack » Mon Feb 13, 2012 5:08 am

If i didn't want the icon, could i simply replace the current one with a transparent png/gif?

As it currently covers the poster art of my moviesheets :).

Apart from that, i think its great so far.
hobbitjack
Donor
 
Posts: 54
Joined: Thu Apr 21, 2011 9:35 am

Re: Plugin: Trailers (functional beta)   

Postby KAD » Mon Feb 13, 2012 8:41 am

glad to hear that,

you can just delete the image, you can rename it, you can replace it
whatever you like

maybe one day the we can have some icon on the actual thumbnails, similiar to mediamark
but for now, I'm not quite sure how to do that without changing maybe 20 xml's in the firmware/osd

on another note, for those interested, I fixed all the code stops mentioned above this weekend, and also a few other bugs that cropped up

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: ** updated 2/19/12** Plugin: Trailers 2.0   

Postby KAD » Sun Feb 19, 2012 5:53 pm

first post updated, release version 2.0
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: ** updated 3/3/12** Plugin: Trailers 2.1   

Postby KAD » Sat Mar 03, 2012 11:01 am

first post updated, version 2.1 available

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Next

Return to WDTVExt plugins

Who is online

Users browsing this forum: No registered users and 1 guest