Jump to content


Photo

Ytrailers


Best Answer radeon , 24 January 2020 - 06:22 PM

Looks like something is wrong.

2020-01-24 21:01:12.955 Error App: Error downloading trailer for Shrek Forever After
    *** Error Report ***
    Version: 4.4.0.8
    Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Runtime: file:///C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    System.Environment.Version: 3.1.1
    Processor count: 4
    Program data path: C:\Users\Media\AppData\Roaming\Emby-Server
    Application directory: C:\Users\Media\AppData\Roaming\Emby-Server\system
    System.Collections.Generic.KeyNotFoundException: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
       at VideoLibrary.Helpers.Query.get_Item(String key)
       at VideoLibrary.YouTube.Unscramble(String queryString)
       at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
       at VideoLibrary.YouTube.ParseVideos(String source)+MoveNext()
       at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
       at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
       at System.Linq.OrderedEnumerable`1.TryGetFirst(Func`2 predicate, Boolean& found)
       at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
       at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
       at YTrailers.Search.YouTubeSearch.Search(BaseItem item, CancellationToken cancellationToken)
    Source: YTrailers
    TargetSite: System.String get_Item(System.String)
    
Getting this for every movie the plugin looking for.

@radeon

You need to update manually from the website. https://ballingtons.com/products Go to the full post


  • Please log in to reply
18 replies to this topic

#1 Scott310 OFFLINE  

Scott310

    Advanced Member

  • Members
  • 607 posts
  • Local time: 05:42 AM

Posted 24 January 2020 - 04:37 PM

@radeon

 

Hey Guys,

 

Did Ytrailers stop working for anyone else that's on Beta?  I think the most recent beta release may not be compatible with the plugin at least for me.


  • CBers likes this

#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149390 posts
  • Local time: 12:42 AM

Posted 24 January 2020 - 04:46 PM

While I'm not the one responding to this, I would imagine you'll get a better response if you can provide more detailed information.



#3 Scott310 OFFLINE  

Scott310

    Advanced Member

  • Members
  • 607 posts
  • Local time: 05:42 AM

Posted 24 January 2020 - 04:53 PM

I can provide a log if needed. But really the only information I have other than that is that since yesterday or the day before it is no longer downloading trailers for new movies added to the library.



#4 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15568 posts
  • Local time: 05:42 AM
  • LocationKent, England.

Posted 24 January 2020 - 05:09 PM

Looks like something is wrong.

2020-01-24 21:01:12.955 Error App: Error downloading trailer for Shrek Forever After
    *** Error Report ***
    Version: 4.4.0.8
    Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Runtime: file:///C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    System.Environment.Version: 3.1.1
    Processor count: 4
    Program data path: C:\Users\Media\AppData\Roaming\Emby-Server
    Application directory: C:\Users\Media\AppData\Roaming\Emby-Server\system
    System.Collections.Generic.KeyNotFoundException: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
       at VideoLibrary.Helpers.Query.get_Item(String key)
       at VideoLibrary.YouTube.Unscramble(String queryString)
       at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
       at VideoLibrary.YouTube.ParseVideos(String source)+MoveNext()
       at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
       at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
       at System.Linq.OrderedEnumerable`1.TryGetFirst(Func`2 predicate, Boolean& found)
       at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
       at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
       at YTrailers.Search.YouTubeSearch.Search(BaseItem item, CancellationToken cancellationToken)
    Source: YTrailers
    TargetSite: System.String get_Item(System.String)
    

Getting this for every movie the plugin looking for.

@radeon

#5 radeon OFFLINE  

radeon

    Advanced Member

  • Developers
  • 1203 posts
  • Local time: 05:42 AM

Posted 24 January 2020 - 06:22 PM   Best Answer

Looks like something is wrong.

2020-01-24 21:01:12.955 Error App: Error downloading trailer for Shrek Forever After
    *** Error Report ***
    Version: 4.4.0.8
    Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Runtime: file:///C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    System.Environment.Version: 3.1.1
    Processor count: 4
    Program data path: C:\Users\Media\AppData\Roaming\Emby-Server
    Application directory: C:\Users\Media\AppData\Roaming\Emby-Server\system
    System.Collections.Generic.KeyNotFoundException: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
       at VideoLibrary.Helpers.Query.get_Item(String key)
       at VideoLibrary.YouTube.Unscramble(String queryString)
       at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
       at VideoLibrary.YouTube.ParseVideos(String source)+MoveNext()
       at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
       at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
       at System.Linq.OrderedEnumerable`1.TryGetFirst(Func`2 predicate, Boolean& found)
       at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
       at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
       at YTrailers.Search.YouTubeSearch.Search(BaseItem item, CancellationToken cancellationToken)
    Source: YTrailers
    TargetSite: System.String get_Item(System.String)
    
Getting this for every movie the plugin looking for.

@radeon

You need to update manually from the website. https://ballingtons.com/products

Edited by radeon, 24 January 2020 - 06:32 PM.

  • CBers and Happy2Play like this

#6 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15568 posts
  • Local time: 05:42 AM
  • LocationKent, England.

Posted 24 January 2020 - 06:41 PM

You need to update manually from the website. https://ballingtons.com/products


Thanks.

#7 Scott310 OFFLINE  

Scott310

    Advanced Member

  • Members
  • 607 posts
  • Local time: 05:42 AM

Posted 25 January 2020 - 01:06 AM

Hmmm I went and downloaded the .dll and put it in the proper folder but for some reason it is still not downloading trailers,



#8 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15568 posts
  • Local time: 05:42 AM
  • LocationKent, England.

Posted 25 January 2020 - 05:01 AM

Getting the following in the server log now @radeon.

2020-01-25 08:57:10.409 Error App: YTrailers - Error
	*** Error Report ***
	Version: 4.4.0.9
	Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.1
	Processor count: 4
	Program data path: C:\Users\Media\AppData\Roaming\Emby-Server
	Application directory: C:\Users\Media\AppData\Roaming\Emby-Server\system
	System.IO.IOException: System.IO.IOException: The file exists.
	   at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
	   at System.IO.File.Move(String sourceFileName, String destFileName, Boolean overwrite)
	   at System.IO.File.Move(String sourceFileName, String destFileName)
	   at YTrailers.Search.LocalYTrailersVideoDownloader.DownloadYTrailerForItem(BaseItem item, CancellationToken cancellationToken, ILibraryManager libraryManager)
	Source: System.IO.FileSystem
	TargetSite: Void MoveFile(System.String, System.String, Boolean)


#9 radeon OFFLINE  

radeon

    Advanced Member

  • Developers
  • 1203 posts
  • Local time: 05:42 AM

Posted 25 January 2020 - 05:19 AM

That's odd, I ask emby for a list of all movies without a trailer and then process all based on that. That error looks to me like it's trying to copy over a trailer for a movie that already exists.

What emby version are you running?

#10 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15568 posts
  • Local time: 05:42 AM
  • LocationKent, England.

Posted 25 January 2020 - 05:22 AM

That's odd, I ask emby for a list of all movies without a trailer and then process all based on that. That error looks to me like it's trying to copy over a trailer for a movie that already exists.

What emby version are you running?


Beta, v4.4.0.9.

#11 radeon OFFLINE  

radeon

    Advanced Member

  • Developers
  • 1203 posts
  • Local time: 05:42 AM

Posted 25 January 2020 - 05:34 AM

Strange, I was running the latest beta and stable on my life rig when I updated the plugin early last week and had someone test on stable before it was released. I'm away this weekend but have my laptop so I'll have a look at some point.
  • CBers likes this

#12 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15568 posts
  • Local time: 05:42 AM
  • LocationKent, England.

Posted 25 January 2020 - 05:43 AM

Strange, I was running the latest beta and stable on my life rig when I updated the plugin early last week and had someone test on stable before it was released. I'm away this weekend but have my laptop so I'll have a look at some point.


No worries. Don't rush on my account :)

#13 radeon OFFLINE  

radeon

    Advanced Member

  • Developers
  • 1203 posts
  • Local time: 05:42 AM

Posted 25 January 2020 - 07:41 AM

Getting the following in the server log now @radeon.
 

2020-01-25 08:57:10.409 Error App: YTrailers - Error
	*** Error Report ***
	Version: 4.4.0.9
	Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.1
	Processor count: 4
	Program data path: C:\Users\Media\AppData\Roaming\Emby-Server
	Application directory: C:\Users\Media\AppData\Roaming\Emby-Server\system
	System.IO.IOException: System.IO.IOException: The file exists.
	   at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
	   at System.IO.File.Move(String sourceFileName, String destFileName, Boolean overwrite)
	   at System.IO.File.Move(String sourceFileName, String destFileName)
	   at YTrailers.Search.LocalYTrailersVideoDownloader.DownloadYTrailerForItem(BaseItem item, CancellationToken cancellationToken, ILibraryManager libraryManager)
	Source: System.IO.FileSystem
	TargetSite: Void MoveFile(System.String, System.String, Boolean)

 

I'm not seeing this behavior at all? It looks to me like your emby hasn't seen the newly downloaded trailer for some reason, even though i tell it that it's there. 

 

Can you confirm your ytrailers version? 

 

Also, run a library scan then the plugin again. 



#14 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15568 posts
  • Local time: 05:42 AM
  • LocationKent, England.

Posted 25 January 2020 - 04:23 PM

Can you confirm your ytrailers version?

Also, run a library scan then the plugin again.


v1.6.6.1

Still getting the same error message(s) after library scan.

2020-01-25 20:20:19.164 Debug App: X:\Videos\Kids Movies\Frozen (2013)\Frozen (2013) - 4K-trailer.mp4
2020-01-25 20:20:19.164 Info App: Moving C:\Users\Media\AppData\Roaming\Emby-Server\cache\temp\24b8802d-78b2-4f57-973e-7a9200b6026b.tmp to X:\Videos\Kids Movies\Frozen (2013)\Frozen (2013) - 4K-trailer.mp4
2020-01-25 20:20:19.166 Info HttpServer: HTTP Response 200 to 192.168.1.23. Time: 10ms. http://192.168.1.150:8988/emby/System/Logs
2020-01-25 20:20:19.167 Info HttpServer: HTTP Response 200 to 192.168.1.23. Time: 10ms. http://192.168.1.150:8988/emby/System/Configuration
2020-01-25 20:20:19.173 Info HttpServer: HTTP GET http://192.168.1.150:8988/emby/web/configurationpages?pageType=PluginConfiguration&EnableInMainMenu=true. UserAgent: Mozilla/5.0 (Linux; Android 10; Nokia 7 plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.136 Mobile Safari/537.36
2020-01-25 20:20:19.174 Info HttpServer: HTTP Response 200 to 192.168.1.23. Time: 1ms. http://192.168.1.150:8988/emby/web/configurationpages?pageType=PluginConfiguration&EnableInMainMenu=true
2020-01-25 20:20:19.175 Error App: YTrailers - Error
	*** Error Report ***
	Version: 4.4.0.9
	Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.1
	Processor count: 4
	Program data path: C:\Users\Media\AppData\Roaming\Emby-Server
	Application directory: C:\Users\Media\AppData\Roaming\Emby-Server\system
	System.IO.IOException: System.IO.IOException: The file exists.
	   at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
	   at System.IO.File.Move(String sourceFileName, String destFileName, Boolean overwrite)
	   at System.IO.File.Move(String sourceFileName, String destFileName)
	   at YTrailers.Search.LocalYTrailersVideoDownloader.DownloadYTrailerForItem(BaseItem item, CancellationToken cancellationToken, ILibraryManager libraryManager)
	Source: System.IO.FileSystem
	TargetSite: Void MoveFile(System.String, System.String, Boolean) 


#15 radeon OFFLINE  

radeon

    Advanced Member

  • Developers
  • 1203 posts
  • Local time: 05:42 AM

Posted 25 January 2020 - 04:42 PM

do you have several versions of the same movie in one folder?

 

And can you give me a file listing of the files in that frozen (2013) folder?


Edited by radeon, 25 January 2020 - 04:42 PM.


#16 Scott310 OFFLINE  

Scott310

    Advanced Member

  • Members
  • 607 posts
  • Local time: 05:42 AM

Posted 25 January 2020 - 04:52 PM

I ran a library scan and ran the plugin again and it is back to functioning normally.



#17 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15568 posts
  • Local time: 05:42 AM
  • LocationKent, England.

Posted 25 January 2020 - 06:38 PM

do you have several versions of the same movie in one folder?

And can you give me a file listing of the files in that frozen (2013) folder?


There are 1080 and 4K versions of the movie in the folder, along with a trailer for each, plus a normally named trailer.

#18 radeon OFFLINE  

radeon

    Advanced Member

  • Developers
  • 1203 posts
  • Local time: 05:42 AM

Posted 25 January 2020 - 06:43 PM

This must have been going on for ages unless something has changed in the core of emby as nother has changed in the file moving or listing of movies without trailers simce about the day I wrote it.

Can you give me the file names for all those in the frozen folder so I can repro it here?

#19 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15568 posts
  • Local time: 05:42 AM
  • LocationKent, England.

Posted 25 January 2020 - 08:15 PM

This must have been going on for ages unless something has changed in the core of emby as nother has changed in the file moving or listing of movies without trailers simce about the day I wrote it.

Can you give me the file names for all those in the frozen folder so I can repro it here?


The "file exists" error only seems to have started on beta 4.4.0.9.

I'll PM you the list.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users