Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Problem Extracting subs inside movie container #460

Closed
ahiguero opened this issue Mar 7, 2018 · 7 comments
Closed

Problem Extracting subs inside movie container #460

ahiguero opened this issue Mar 7, 2018 · 7 comments

Comments

@ahiguero
Copy link

ahiguero commented Mar 7, 2018

Version Sub-Zero 2.5.0.2287 DEV

Platform : Plex server Version 1.11.3.4803 running on the nvidia shield

issue

the following error appears when the option to extract subs from MKV is enabled
2018-03-04 18:56:00,339 (2034373450) : ERROR (menu_helpers:186) - Extraction failed: Traceback (most recent call last):
File "/data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Code/interface/menu_helpers.py", line 184, in extract_embedded_sub
output = subprocess.check_output(quote_args(args), stderr=subprocess.PIPE, shell=True)
File "/data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Code/support/helpers.py", line 30, in quote_args
return ' '.join(quote(arg) for arg in seq)
File "/data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Code/support/helpers.py", line 30, in <lambda.2>
return ' '.join(quote(arg) for arg in seq)
File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Python/lib/python2.7/pipes.py", line 269, in quote
for c in file:
TypeError: 'NoneType' object is not iterable
Logs_180307_08-22-19.zip

@pannal
Copy link
Owner

pannal commented Mar 13, 2018

First of all, you seem to have permission issues: IOError: [Errno 13] Permission denied: u'/storage/RIOMAR/media/movies/Blade of the Immortal (2017)/Blade of the Immortal (2017) Bluray-1080p x264 DTS.en.srt'

For the issue you have: SZ doesn't seem to find the Plex Transcoder. Can you search for the Plex Transcoder file inside /data/user/0/com.plexapp.mediaserver.smb?

@ahiguero
Copy link
Author

ahiguero commented Mar 13, 2018 via email

@pannal
Copy link
Owner

pannal commented Mar 15, 2018

@ahiguero were you able to find the path to Plex Transcoder? Then I can hopefully fix the issue.

@ahiguero
Copy link
Author

the transcoder is inside the Resources folder

path would be com.plexapp.mediaserver.smb/Resources/Plex Transcoder

regarding the permissions the user that connects to the share folders used to host the media files do have read and write permissions as i am able to for example delete media files from plex. but for some reason the pluging has issues writing to that folder.

@pannal
Copy link
Owner

pannal commented Mar 16, 2018

OK, the transcoder finding issue should be resolved in the next version.

For your permission problem: I have no idea. Are the folder permissions correct? Because deleting media files requires different permissions compared to creating a new file inside a folder (which depends on the folder permissions, not the file permissions).

@ahiguero
Copy link
Author

ahiguero commented Mar 16, 2018 via email

@pannal
Copy link
Owner

pannal commented Mar 16, 2018

Well, permission issues are out of scope for SZ, as it can't do anything about them. Closing this for now, please reopen if the Plex Transcoder issue persists after the next version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants