Howto get Trailers on-the-fly (Youtube Link in NFO)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
olympia Offline
Team-XBMC Member
Posts: 2,381
Joined: May 2008
Reputation: 30
Post: #11
No, that is not the right thread and not a full debug log.
find quote
x23piracy Offline
Senior Member
Posts: 159
Joined: Feb 2011
Reputation: 0
Location: Germany
Post: #12
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
(This post was last modified: 2011-05-14 13:45 by x23piracy.)
find quote
olancasey Offline
Junior Member
Posts: 26
Joined: Dec 2010
Reputation: 0
Location: Ireland
Post: #13
Finally !!! Trailers working.. thank you..
is there away of setting up ember to scrape the urls correctly at all?
find quote
x23piracy Offline
Senior Member
Posts: 159
Joined: Feb 2011
Reputation: 0
Location: Germany
Post: #14
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
find quote
fional Offline
Posting Freak
Posts: 907
Joined: May 2011
Reputation: 17
Location: Ireland
Post: #15
x23piracy Wrote:Hi,



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

Thanks Smile I just tried this and it works out well. I'm real happy with that, I just wish it was something that was done im EMM-R automatically Smile
find quote
olancasey Offline
Junior Member
Posts: 26
Joined: Dec 2010
Reputation: 0
Location: Ireland
Post: #16
error from library?
no such function replace?
find quote
olancasey Offline
Junior Member
Posts: 26
Joined: Dec 2010
Reputation: 0
Location: Ireland
Post: #17
HI Folks, it was working..
now its not working..
it keeps brining up the toutube settings!!??
find quote
Post Reply