Posts: 184
Joined: Feb 2011
Hi,
i like howto get Trailers working if there is allready a youtube trailer link in the nfo file (I use Ember to Scrape Info initially) i have also Scrapers in XBMC enabled that get maybe missing data (if not found by Ember).
If i try to play a trailer nothing happens... because the youtube links in nfo
cannot be played by xbmc directly... how to get that working?
Do i need to remove all the youtube trailer links in the nfo?
I don't want to download all the trailers locally my wish is to play them on the fly on demand.
Any suggestions?
Greetz X23
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
look at how the current tmdb scraper does it. you basically have to make it plugin:// style urls.
Posts: 184
Joined: Feb 2011
Hi,
spiff Wrote:look at how the current tmdb scraper does it. you basically have to make it plugin:// style urls.
yes i'll have a look.
One question, if there is no trailer url in an existing nfo and the tmdb scraper is enabled and i goto movie info > trailer it gets the trailer on the fly?
Greetz X23
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
no, obtaining trailer links is done as part of the scraping, something you skip entirely if you have a nfo in there.
Posts: 184
Joined: Feb 2011
2011-05-03, 17:32
(This post was last modified: 2011-05-03, 17:42 by x23piracy.)
Hi,
spiff Wrote:no, obtaining trailer links is done as part of the scraping, something you skip entirely if you have a nfo in there.
means the only way to get this working is to store the trailer url in nfo like the plugins would trigger them right?
Is there a way to batch replace those links in nfo's or need i do something with delphi by myself? (have a library about 1000 movies).
Is the Problem also there if i delete all trailer links and the rescrape with xbmc? or must i delete the complete existing nfo's (Ember) and the rescrape?
Edit:
I tryed to refresh the movie information (tmdb) in my test installation and after that the trailer button worked, the existing artwork (poster, nfo) was not replaced. How can i rescrape my entire library if allready nfo files exists? (i don't mean updatelibrary) update hole movie info.
Greetz X23
Posts: 3,204
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,204
2011-05-03, 21:32
(This post was last modified: 2011-05-03, 21:38 by olympia.)
If you have nfo, scraping gets skipped.
You need to re-scrape everything to get this worked.
Batch re-scraping is not possible, so yes you either need to delete all the nfos, then re-scrape with xbmc (tmdb scraper only), or replace the URL in the nfos somehow.
Can you please explain why did you feel the need to open another thread on the exact same topic as previously?
Posts: 184
Joined: Feb 2011
2011-05-03, 22:13
(This post was last modified: 2011-05-03, 22:16 by x23piracy.)
Hi,
olympia Wrote:so yes you either need to delete all the nfos, then re-scrape with xbmc (tmdb scraper only), or replace the URL in the nfos somehow.
can u tell me how the url must look like so i can do the batch thing by myself,
if that is not working i will delete my nfo's.
Where is the trailer data stored in xbmc library where to find it?
olympia Wrote:(tmdb scraper only)
You mean not with Ember in any combination not with xbmc itselfs or?
As i know i only can activate a single scraper on the same time in xbmc right?
olympia Wrote:Can you please explain why did you feel the need to open another thread on the exact same topic as previously?
Sorry my bad...that will never happen again
Greetz X23
Posts: 184
Joined: Feb 2011
2011-05-03, 23:07
(This post was last modified: 2011-05-03, 23:10 by x23piracy.)
Hi,
okay seems the best way is to delete the nfo made by ember keep the rest and let xbmc's scraper do the rest...
But actually of complete nfos all my movies are in the xbmc database shown propperly but what happens if i delete my nfos and xbmc is not finding any movie when rescraping with the only intention to get the trailer... i think it's missing then in the db right?
What then how to have them all again?
I know that there is a plugin called missing movies or something it displays movies and shows available on (hdd) but missing in database. is that the way i have to use? (Would be hard to compare a directory listing against a visible movie list from xbmc on the tv that have to be scrolled).
Greetz X23
Posts: 3,204
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,204
No, that is not the right thread and not a full debug log.
Posts: 184
Joined: Feb 2011
2011-05-09, 16:56
(This post was last modified: 2011-05-14, 13:45 by x23piracy.)
Hi,
olympia Wrote:The URL should look like this (example):
plugin://plugin.video.youtube/?action=play_video&videoid=HlsM2_8u_mk
...but even in case you manage to change to URLs, you will need to re-scan everything (to re-import the nfos).
finally i replaced the string:
Code:
http://www.youtube.com/watch?v=
against:
Code:
plugin://plugin.video.youtube/?action=play_video&videoid=
keept my posters and fanarts and rescraped the library.
Thanks Olympia for your help and suggestions.
Edit:
Another more easy way is to edit the xbmc db directly, i used SQLite Database Browser:
http://sourceforge.net/projects/sqlitebrowser/
I've opened my Video Database (MyVideos34.db) and executed the following sql command:
Code:
update movie
set c19 = replace(c19,'http://www.youtube.com/watch?v=','plugin://plugin.video.youtube/?action=play_video&videoid=');
(c19 is the table (movie) column for the trailer)
Greetz X23
Posts: 26
Joined: Dec 2010
Reputation:
0
Finally !!! Trailers working.. thank you..
is there away of setting up ember to scrape the urls correctly at all?
Posts: 184
Joined: Feb 2011
Hi,
olancasey Wrote:Finally !!! Trailers working.. thank you..
is there away of setting up ember to scrape the urls correctly at all?
you may ask this better in ember revisited thread:
http://forum.xbmc.org/showthread.php?tid...ight=ember
Another solution may can be an option in the youtube plugin to set link style (workaround), ask in youtube plugin thread:
http://forum.xbmc.org/showthread.php?tid...ube+plugin
Greetz X23