Jump to content

Possible permissions issue for comskip


Go to solution Solved by junkrat,

Recommended Posts

Posted (edited)

Probably a stupid question but do I have to set permissions somewhere for the Emby .spk install on a Synology NAS to allow Emby access to run comskip (also installed system wide via .spk) as a post process after a live TV recording has finished?

I see the error log and the command it runs, then if I run the command in an ssh shell (copying directly from the log file) it works fine (hence my thinking maybe it's an Emby permissions thing maybe?)

I think a key line from the error log is:


System.ComponentModel.Win32Exception: System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'comskip --ini="/volume1/Plex Media/comskip.ini" ' with working directory '/volume1/@appstore/EmbyServer'. No such file or directory

Both folders exist

 

Any help would be amazing, thankyou

Partial error log here on a test I was running:

https://pastebin.com/jmURvsAr

Edited by junkrat
Posted

Hi, how did you configure the post processing settings?

Posted

So in the recording post processing section I have:

Post-processing application

comskip --ini="/volume1/Plex Media/comskip.ini" 

Post-processor command line arguments (default)

"{path}"

 

I have a space after the comskip.ini" in Post-processing application

Posted

Check this thread. It's a bit long but covers a lot of things you may need to adjust or set permissions.
Follow the directions in the first post and refer back to the thread if you have an issue or need additional help.

Carlo

Posted

Hi Carlo, Sorry which thread? I clicked on the URL in your signature (which points to a 404 not found page, changing it to https://support.emby.media/support/index.html fixes it) but it looks like the general support page and I'm not sure where to start looking

Thanks for the help on this, getting comskip to run on the system was a big hurdle and this is the last piece of the puzzle haha

Posted

Thanks, it used to redirect.   I changed it up a bit.

Sorry about that. 

It's 28 pages long. I wanted to show you this thread as it has real useful info in it as well as shows how to skip vs cut commercials in Emby.

Carlo

  • Solution
Posted

Fantastic thankyou! Wading through that thread was informative - the key bit of info for anyone else that has installed comskip via the Synology community package method was how to break up the commands in the post process. In live TV advanced settings for Emby I how have:

Post-processing application

/volume1/@appstore/comskip/bin/comskip/comskip 

Post-processor command line arguments (default)

--ini="/volume1/Plex Media/comskip.ini" "{path}"

 

and this works. The .ini file is the same that comes with the comskip installation and I put it in a folder that Emby already had permissions for. I also gave permission to emby to access the @appstore location of comskip

  • Like 1
  • 1 month later...
Jator
Posted

Thanks for the above, it seems you may have found the solution I posted about here:

 

  • 1 month later...
Posted
On 11/22/2024 at 7:00 PM, junkrat said:

I also gave permission to emby to access the @appstore location of comskip

Sorry to ask a basic question, but how do you grant access to a System Internal User account such as Emby within Synology.  I'm not seeing a directive/walk-through in my search online.

GrimReaper
Posted
18 minutes ago, Jator said:

how do you grant access to a System Internal User account such as Emby within Synology

 

Posted
20 minutes ago, GrimReaper said:

 

Thanks Grim.  I have already setup a media folder where I store my recordings and assigned EmbyUser, but the /volume/@appxxxx directories are not shared directories and as such I am unable to change permissions using the Shared Folder application within Synology web portal as far as I can tell.  

I have created a folder /volume1/@appdata/EmbyServer/comskip and placed both the comskip and comskip.ini and changed the owner and permissions to match the other files within Emby's folder.  Repointed the paths in Emby's websettings for post processing and recording a show now to see if that works.  Crossing my fingers.

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...