Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

custom user options #12

Open
snickers2k opened this issue Aug 23, 2019 · 3 comments
Open

custom user options #12

snickers2k opened this issue Aug 23, 2019 · 3 comments

Comments

@snickers2k
Copy link

snickers2k commented Aug 23, 2019

Awesome scripts. This is really what i've been looking for. Thank you!
Only thing i'm missing is to add some customizations to rclone upload, without editing your scripts. I use a few rclone commands for my uploads.
--bwlimit=10.0M --log-file=PATH --exclude ".placeholder"
Aswell as "find"-options -mtime +3
Min-Age 3d is because i want Plex to analyze the items (thumbnails etc) before moving to GDrive, to lower the GDrive access as much as possible.

Would be great to have this in your .conf file.
Maybe even dedicated line for logfile?

(another thing, please write down somewhere that " ~/ " is not working ;) )

Thank you

@snickers2k
Copy link
Author

snickers2k commented Aug 25, 2019

okay.. there are one or two things ...
altough it's of course an awesome script,

besides missing custom-variables,
the script does not respect the "Library Directories".
my structure is "DriveName:Series" .. your script is adding to "DriveName:TV Shows" ..
(missing of drive_tvshow_path and drive_movies_path )

all in all, needs a little bit more options for other users to be usable ;)

thanks anyway


made a few changes in a fork.
still two things missing:

  • multiple variables for rclone (don't know how to escape)
  • script is still not putting inside Seasons folder, but instead directly in Series-Folder

@masonr
Copy link
Owner

masonr commented Aug 26, 2019

Hey @snickers2k, thanks for the interest and the recommendations on how to improve the project. I agree completely with being able to add rclone options and being able to define the root directory of where to find the tv shows/movies in the rclone remote (instead of defaulting to remote:TV Shows/ or remote:Movies/). I'll work on adding these changes in and will make them backwards compatible so they won't break any existing setups if someone pulls down the latest.

Sounds like we'll need these additional configuration options in the conf file:

  • rclone custom options
  • find custom options
  • remote media root paths

To answer your other concerns --

another thing, please write down somewhere that " ~/ " is not working

For which option is this referring to? Take caution as to which user the plexidrive.sh script is being run as and which home directory you're trying to access. Best to use absolute paths due to this to avoid any confusion or issues.

script is still not putting inside Seasons folder, but instead directly in Series-Folder

The scripts auto-detect which series/season folders to place the media in based on the path of the to-be-uploaded media and it is based on the preceding directory structure. For instance, a file: /path/to/Series Name/Season Folder/Series Name - 5x10 - Episode Name.mp4, the two preceding directories of that file will be used as the series name and season folder, respectively. Obviously, this won't work well if your media isn't sorted and dumped into a common directory. I'd need to know more about your folder structure and such to make recommendations for your specific use-case.

@snickers2k
Copy link
Author

snickers2k commented Aug 27, 2019

thank you @masonr .

I order like this: "/path/to/Series Name/Season Folder/Episode Folder/Series Name - 5x10 - Episode Name.mp4" .. so another folder per Episode - to gather .nfo, .sub etc
Altough this is not the official Plex-naming-scheme, it's working great with Plex - and for me, this makes much more sense.
Maybe this is why it "breaks"?

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