SickBeard MediaBrowser post processing fix


Recommended Posts

The SickBeard post processing for MediaBrowser has an error where it doesn't work right on NAS systems. It lists the filename for the episode image with the full path name and the full path on an unRAID server isn't the same path you see from the network so MediaBrowser can't find the file. I changed the processing file so that it doesn't use the path name. Other metadata programs seem to use the EpisodeID to name the episode image so this still doesn't work with them. At any rate, attached is the file that I modified. Take the ".txt" of the end and replace the SickBeard file. This is the line I changed, it's near the bottom of the file;

 

thumb.text = helpers.replaceExtension(ek.ek(os.path.basename, ep_obj.location), 'jpg')

 

If someone knows a better way then post it up. I'm just sticking it here in case it helps anyone else. I'd post the problem up on GitHub if I could be bothered signing up.

mediabrowser.py.txt

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.