Jump to content


Photo

Emby not Scraping Youtube Trailer information?

kodi emby trailer scrapping

  • This topic is locked This topic is locked
52 replies to this topic

#1 Raze OFFLINE  

Raze

    Member

  • Members
  • 25 posts
  • Local time: 09:22 AM

Posted 13 June 2015 - 02:40 AM

Hi all,

 

I'm new to Emby / Media Browser and so far am liking the functionality and speed.

 

I've gotten hung up on one issue - it seems to me that Emby is not scraping trailer information from themoviedb.com. Maybe I'm missing something and would certainly appreciate a push in the right direction.

 

I am using Kodi (Helix 14.2) and the latest Emby Addon for Kodi (1.0). It connects just fine and play video beautifully from my server (running ver 3.0.5621.4). The problem is when I go into my movies, open the context menu, select movie information and try to play a trailer, the trailer button does not show up. The trailer button not showing up is normal behavior for the confluence skin if no trailer information is available.

 

This function works just fine when I point Kodi to my library and get it to scrape from themoviedb.com. I have exported my library and confirmed lines such as the following appear in the videodb.xml: <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=nijccxWvyXU</trailer>. It appears that through Kodi, trailer information has been obtained and playing the trailer through the youtube addon works beautifully.

 

When i export my library when using Emby, there is nothing included between <trailer></trailer>. Suggesting that the trailer information has not been scraped?

 

To me this suggests that somehow Emby isn't scraping this infomation and Kodi is??

 

I have made sure that themoviedb is on the top of all the lists on metadata services. Any other suggestions would be helpful. Having this function work would be amazing - being able to watch the trailer directly from the movie library make picking a movie so much easier (and eliminates all the "what was that movie about again?").

 

Cheers and thanks in advance for any help you can provide.

 

 



#2 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15723 posts
  • Local time: 05:22 PM
  • LocationEngland

Posted 13 June 2015 - 04:44 AM

Do you have Trailers channel installed in Emby?

#3 Raze OFFLINE  

Raze

    Member

  • Members
  • 25 posts
  • Local time: 09:22 AM

Posted 13 June 2015 - 10:51 AM

No. I don't have trailers addon installed. Would that make a differance in scraping movie data?

Edited by mike2455, 13 June 2015 - 01:36 PM.


#4 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15723 posts
  • Local time: 05:22 PM
  • LocationEngland

Posted 13 June 2015 - 01:48 PM

Online trailer information should be added when the movie's metadata is fetched.

Do your movies have trailers available online?

Trailers are no longer downloaded.

#5 Raze OFFLINE  

Raze

    Member

  • Members
  • 25 posts
  • Local time: 09:22 AM

Posted 13 June 2015 - 02:08 PM

Online trailer information should be added when the movie's metadata is fetched.

Do your movies have trailers available online?


Trailers are no longer downloaded.

Thanks for the reply.

I have tried the trailer through the web interface and it works fine. This leads me to believe that the online trailer location is being scraped. Is there anyway I can confirm this?

If the info is being scraped, the for some reason it is not being transferred into the kodi database?

Thanks for any assistance.

Edited by mike2455, 13 June 2015 - 02:12 PM.


#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152563 posts
  • Local time: 12:22 PM

Posted 13 June 2015 - 07:01 PM

When we download metadata, we do get trailer info from Tmdb and store it in your metadata files.



#7 Raze OFFLINE  

Raze

    Member

  • Members
  • 25 posts
  • Local time: 09:22 AM

Posted 13 June 2015 - 07:07 PM

When we download metadata, we do get trailer info from Tmdb and store it in your metadata files.


Any idea why it might not be transferring that metadata to kodi?

I would think it would want to be in the following format.

<trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=nijccxWvyXU</trailer>

#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152563 posts
  • Local time: 12:22 PM

Posted 13 June 2015 - 07:09 PM

that's exactly what we do.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<movie>
  <plot>Based on Frank Miller's graphic novel, "300" is very loosely based the 480 B.C. Battle of Thermopylae, where the King of Sparta led his army against the advancing Persians; the battle is said to have inspired all of Greece to band together against the Persians, and helped usher in the world's first democracy.</plot>
  <outline>King Leonidas and a force of 300 men fight the Persians at Thermopylae in 480 B.C.</outline>
  <lockdata>false</lockdata>
  <dateadded>2015-01-26 16:15:57</dateadded>
  <title>300</title>
  <originaltitle>300</originaltitle>
  <director>Zack Snyder</director>
  <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=UrIbxk7idYA</trailer>
  <rating>7.8</rating>



#9 Raze OFFLINE  

Raze

    Member

  • Members
  • 25 posts
  • Local time: 09:22 AM

Posted 13 June 2015 - 07:25 PM

 

that's exactly what we do.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<movie>
  <plot>Based on Frank Miller's graphic novel, "300" is very loosely based the 480 B.C. Battle of Thermopylae, where the King of Sparta led his army against the advancing Persians; the battle is said to have inspired all of Greece to band together against the Persians, and helped usher in the world's first democracy.</plot>
  <outline>King Leonidas and a force of 300 men fight the Persians at Thermopylae in 480 B.C.</outline>
  <lockdata>false</lockdata>
  <dateadded>2015-01-26 16:15:57</dateadded>
  <title>300</title>
  <originaltitle>300</originaltitle>
  <director>Zack Snyder</director>
  <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=UrIbxk7idYA</trailer>
  <rating>7.8</rating>

 

That's exactally what I expect to see. However this is what my videodb.xml looks like when I do an library export from Kodi with Emby running. As you can see there is no data between <trailer> and </trailer>. Any ideas as to why that is not populating?

<movie>
        <title>The Secret Life of Walter Mitty</title>
        <originaltitle>The Secret Life of Walter Mitty</originaltitle>
        <sorttitle>secret life of walter mitty</sorttitle>
        <rating>7.400000</rating>
        <epbookmark>0.000000</epbookmark>
        <year>2013</year>
        <top250>0</top250>
        <votes></votes>
        <outline>A day-dreamer escapes his anonymous life by disappearing into a world of fantasies filled with heroism, romance and action. When his job along with that of his co-worker are threatened, he takes action in the real world embarking on a global journey that turns into an adventure more extraordinary than anything he could have ever imagined.</outline>
        <plot>Ben Stiller directs and stars in THE SECRET LIFE OF WALTER MITTY, James Thurber&apos;s classic story of a day-dreamer who escapes his anonymous life by disappearing into a world of fantasies filled with heroism, romance and action. When his job along with that of his co-worker (Kristen Wiig) are threatened, Walter takes action in the real world embarking on a global journey that turns into an adventure more extraordinary than anything he could have ever imagined.</plot>
        <tagline>Stop dreaming. Start living.</tagline>
        <runtime>114</runtime>
        <mpaa>Rated PG for some crude comments, language and action violence</mpaa>
        <playcount>0</playcount>
        <lastplayed></lastplayed>
        <file></file>
        <path>plugin://plugin.video.emby/movies/e087795d1b235553895b0c6167a196c0/</path>
        <filenameandpath>plugin://plugin.video.emby/movies/e087795d1b235553895b0c6167a196c0/?id=e087795d1b235553895b0c6167a196c0&amp;mode=play</filenameandpath>
        <basepath></basepath>
        <id>tt0359950</id>
        <genre>Adventure</genre>
        <genre>Comedy</genre>
        <genre>Drama</genre>
        <genre>Fantasy</genre>
        <country>USA</country>
        <set></set>
        <tag>Movies(Bespin)</tag>
        <credits>Steve Conrad</credits>
        <director>Ben Stiller</director>
        <premiered></premiered>
        <status></status>
        <code></code>
        <aired></aired>
        <studio>Twentieth Century Fox Film Corporation</studio>
        <trailer></trailer>
        <fileinfo>

Edited by mike2455, 13 June 2015 - 07:26 PM.


#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152563 posts
  • Local time: 12:22 PM

Posted 13 June 2015 - 07:58 PM

it's possible the add-on just isn't sending the info down maybe? you'll have to check your metadata first in emby server before going to kodi.



#11 Raze OFFLINE  

Raze

    Member

  • Members
  • 25 posts
  • Local time: 09:22 AM

Posted 14 June 2015 - 03:25 AM

it's possible the add-on just isn't sending the info down maybe? you'll have to check your metadata first in emby server before going to kodi.

 

Thanks.

 

So i've checked the metadata being generated by the Emby Server. It looks fine (see below). I've also set Emby to save artwork and metadata in media folders. When i point kodi to those media folders with the Emby generated metadata, i'm able to watch the trailer.

<movie>
  <plot>Author P.L. Travers travels from London to Hollywood as Walt Disney Pictures adapts her novel Mary Poppins for the big screen.</plot>
  <outline>Author P.L. Travers reflects on her childhood after reluctantly meeting with Walt Disney, who seeks to adapt her Mary Poppins books for the big screen.</outline>
  <lockdata>false</lockdata>
  <dateadded>2015-06-15 01:33:23</dateadded>
  <title>Saving Mr. Banks</title>
  <originaltitle>Saving Mr. Banks</originaltitle>
  <director>John Lee Hancock</director>
  <writer>Kelly Marcel</writer>
  <writer>Sue Smith</writer>
  <credits>Kelly Marcel</credits>
  <credits>Sue Smith</credits>
  <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=nijccxWvyXU</trailer>
  <rating>7.5</rating>
  <year>2013</year>


#12 im85288 OFFLINE  

im85288

    Kodi Kruncher

  • Developers
  • 2699 posts
  • Local time: 04:22 PM
  • LocationGeordie Land

Posted 14 June 2015 - 06:50 AM

We are only pulling trailers into Kodi when they are local. So in your case as its a YouTube link it is ignored. The reasoning behind this is that most skins allow you to browse trailers on YouTube anyway so there was no need to import that data.
  • CBers likes this

#13 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15723 posts
  • Local time: 05:22 PM
  • LocationEngland

Posted 14 June 2015 - 07:25 AM

@mike2455 - if you want YouTube trailers downloaded to your Emby movie folders, you could try @radeon's YTrailers plugin.
  • JDizzy likes this

#14 im85288 OFFLINE  

im85288

    Kodi Kruncher

  • Developers
  • 2699 posts
  • Local time: 04:22 PM
  • LocationGeordie Land

Posted 14 June 2015 - 10:51 AM

Actually scrap what I said earlier, as long as you have the standard trailers plugin for the server installed the trailers are retrieved from there and passed along to Kodi as the trailer url to play. This will only work if you do not have "use local paths" enabled in the addon.



#15 Raze OFFLINE  

Raze

    Member

  • Members
  • 25 posts
  • Local time: 09:22 AM

Posted 14 June 2015 - 01:14 PM

It seems strange that this information needs to be passed through a server plugin, but ill give it a try!

So I have the plugin installed but I don't see an option to use local paths on the settings screen? I only see 1) movie trailer archive 2) new and up coming in theatres 3) new to bluray / dvd and 4) new to Netflix

The movie trailer archive not selected, the rest are. I'm not sure what the archive option does.

I tried to see if the trailer data was passed to kodi with this plugin enabled and it still is not there.

Where is the use local paths option?

Thanks for your help!

#16 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152563 posts
  • Local time: 12:22 PM

Posted 14 June 2015 - 01:16 PM

It seems strange that this information needs to be passed through a server plugin, but ill give it a try!

So I have the plugin installed but I don't see an option to use local paths on the settings screen? I only see 1) movie trailer archive 2) new and up coming in theatres 3) new to bluray / dvd and 4) new to Netflix

The movie trailer archive not selected, the rest are. I'm not sure what the archive option does.

I tried to see if the trailer data was passed to kodi with this plugin enabled and it still is not there.

Where is the use local paths option?

Thanks for your help!

 

if all you want is the youtube info added to your metadata file, then ignore the posts about the server plugin and just follow what i said. 



#17 Raze OFFLINE  

Raze

    Member

  • Members
  • 25 posts
  • Local time: 09:22 AM

Posted 14 June 2015 - 02:35 PM

if all you want is the youtube info added to your metadata file, then ignore the posts about the server plugin and just follow what i said.


Thanks Luke

I'm pretty sure the metadata is being scraped by emby fine as per my post above ( #11 I think)

Do you think its a matter of the trailer metadata information not being passed through by the kodi Addon?

Is there a way I can check? Are you or anybody else experiencing the same behaviour?

Thanks again for your help.

#18 im85288 OFFLINE  

im85288

    Kodi Kruncher

  • Developers
  • 2699 posts
  • Local time: 04:22 PM
  • LocationGeordie Land

Posted 14 June 2015 - 04:15 PM

You may need to do a database reset of the emby addon to get the changes picked up locally in kodi.

#19 Raze OFFLINE  

Raze

    Member

  • Members
  • 25 posts
  • Local time: 09:22 AM

Posted 14 June 2015 - 05:40 PM

You may need to do a database reset of the emby addon to get the changes picked up locally in kodi.

 

@ im85288 - I tried this again. Still no effect.



#20 Raze OFFLINE  

Raze

    Member

  • Members
  • 25 posts
  • Local time: 09:22 AM

Posted 14 June 2015 - 05:53 PM

I thought that maybe i wasn't explaining the issue well enough. So here are some images to hopefully show exactly what i mean. The first image is the movie information page from Kodi (confluence skin) and you can see that in the bottom right, i have highlighted the option to play trailer.

 

In the second image below it is the same screen when using Emby. There is no option to play trailer. :(

 

Again any solutions or ideas are appreciated. At this point, for my own sanity,  I'd settle for somebody telling me they are experiencing the same behaviour!

 

 

557df754abd3b_kodi.jpg

Image above: Movie information screen from Kodi database

557df81eb0f3a_emby.jpg

 

Image above: movie information page from Emby. Notice there is no option to play trailer!!

 

Attached Files


Edited by mike2455, 14 June 2015 - 05:54 PM.






Also tagged with one or more of these keywords: kodi, emby, trailer, scrapping

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users