Jump to content

Issue with Roku Thumbnails Plugin


Recommended Posts

Soggybottoms
Posted (edited)

Hello all,

 

Upgraded to version v4.0 this evening, all seems to be well (Great update! Thanks Emby team and plugin devs for your hard work!) despite a small issue with the Roku thumbnail plugin.

 

Tailing 'embyserver.txt' shows that it is trying to generate thumbnails for a bunch of trailers..

 

Normally these errors weren't a big deal (I recall seeing a few of these errors when I was running v3.5), but now in v4.0 it seems like it's trying to generate thumbnails for every single trailer available. The problem with this is around 26% the task seems to slow down the thumbnail generation (I watch as the ffmpeg process goes around 100% to under 10%), so this task which would normally take around 5-10 minutes to complete in version 3.5 is now taking hours in v4.0..

 

OS is Ubuntu 16.04.5

Roku plugin is version 3.2.5.0

 

Things I've tried to fix the problem:

 

- Cleared the cache folder

- Removed the trailers plugin.

- Cleared any options that were related to cinema mode. 

 

Snippet of the error that gets generated in the embyserver.txt log:

2019-01-15 21:33:30.793 Info App: Creating roku thumbnails at 320 width, for http://trailers.apple.com/movies/independent/occupation/occupation-trailer-1_a720p.m4v
2019-01-15 21:33:30.793 Info MediaEncoder: ProcessRun 'ffmpgeg extract-imageseries' Execute: /opt/emby-server/bin/ffmpeg -i "http://trailers.apple.com/movies/independent/occupation/occupation-trailer-1_a720p.m4v" -threads 0 -v quiet -vf "fps=fps=1/10,scale=min(iw\,320):trunc(ow/dar/2)*2" -f image2 "/emby-content/cache/cache/temp/4b684803bcfd4fd4918e672788df1f40/img_%05d.jpg"
2019-01-15 21:33:30.805 Info MediaEncoder: ProcessRun 'ffmpgeg extract-imageseries' Started.
2019-01-15 21:39:50.732 Info MediaEncoder: ProcessRun 'ffmpgeg extract-imageseries' Process exited with code 0
2019-01-15 21:39:50.741 Error App: Error creating roku thumbnails for Occupation
	*** Error Report ***
	Version: 4.0.0.2
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.4.0.141
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 16
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/opt/emby-server/http:/trailers.apple.com/movies/independent/occupation' is denied. ---> System.IO.IOException: Permission denied
	   --- End of inner exception stack trace ---
	   at System.IO.FileSystem.CreateDirectory(String fullPath)
	   at System.IO.Directory.CreateDirectory(String path)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.CreateDirectory(String path)
	   at RokuMetadata.Drawing.VideoProcessor.CreateBif(String path, Int32 width, BaseItem item, MediaSourceInfo mediaSource, CancellationToken cancellationToken)
	   at RokuMetadata.Drawing.VideoProcessor.Run(BaseItem item, String itemModifier, MediaSourceInfo mediaSource, Int32 width, CancellationToken cancellationToken)
	   at RokuMetadata.Drawing.VideoProcessor.Run(BaseItem item, CancellationToken cancellationToken)
	   at RokuMetadata.ScheduledTasks.RokuScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	Source: System.IO.FileSystem
	TargetSite: Void CreateDirectory(System.String)
	   at System.IO.FileSystem.CreateDirectory(String fullPath)
	   at System.IO.Directory.CreateDirectory(String path)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.CreateDirectory(String path)
	   at RokuMetadata.Drawing.VideoProcessor.CreateBif(String path, Int32 width, BaseItem item, MediaSourceInfo mediaSource, CancellationToken cancellationToken)
	   at RokuMetadata.Drawing.VideoProcessor.Run(BaseItem item, String itemModifier, MediaSourceInfo mediaSource, Int32 width, CancellationToken cancellationToken)
	   at RokuMetadata.Drawing.VideoProcessor.Run(BaseItem item, CancellationToken cancellationToken)
	   at RokuMetadata.ScheduledTasks.RokuScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	InnerException: System.IO.IOException: Permission denied
	Source: 
	TargetSite: 

Anyone have a workaround for this?

 

Thanks!

Edited by Soggybottoms
Posted

It shouldn't be trying to extract for those, the plugin will need to be updated. thanks.

Soggybottoms
Posted

It shouldn't be trying to extract for those, the plugin will need to be updated. thanks.

 

Luke,

 

I received the update (3.2.6.0) and can confirm that the plugin is working again. Appreciate the quick response!

Posted

Thanks for the feedback.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...