-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add VideoSort to nzbget and nzbget-testing? #1921
Comments
Personally, I don't mind if you add it. I have no idea how popular or necessary it is, I've never used any of them. We might want to rethink the way we include the pp-scripts though. Instead of cloning multiple repos for every build, maybe its possible to move the three of them (nzbToMedia, GetScripts and VideoSort) into a separate cross package, and add that to the DEPENDS of both the NZBget and -testing packages? |
+1 for rethinking the whole scripts stuff... mainly because i've added a bunch of extra scripts i personally use a lot, which i have to backup (copy&paste) every time i update nzbget... maybe we should move scripts to the var folder ... as this is something every user should take care of by himself... |
We have a lot of users for those scripts and a user friendly way to install them is needed. |
Using var instead of share has its own issues. We have no control over the contents of var once the package is installed. That means that upgrading the scripts would become impossible, so that's no good. An important realization is that (prob depending on your point of view) we provide the current set of ppscripts for convenience/quick start. |
+1 with @Dr-Bean. If we want it to stay that way probably we can document this in a wiki? |
I do not disagree with the discussion, but I was thinking about the addition in terms of @Dr-Bean 's comment:
From a SynoCommunity perspective, I think there is value with providing a reasonable set of stock scripts that have been selected for "the broader audience". Beyond that, users should choose a folder for their ppscripts that lives outside of the installed app folders. Thoughts? |
@cxhamilton +1 on that. We can certainly include a (small-ish) curated set of scripts in the packages. I imagine we can come up with criteria for what is 'acceptable' in terms of inclusion: stable, proven, maintained, useful for a majority of users, practical to use, etc. Anything outside of the default included scripts then falls into user-territory, where we (SC) may have a role in documenting the process, specific to Synology (limit the amount of work on CLI where possible, for instance) As for VideoSort, assuming that it falls into the 'acceptable' category, by all means, go ahead and open a PR. |
the downside of changing the dir is that a user has to update those scripts manually once the folder is changed... in my opinion the optimal way would be if nzbget supports more than one for now im good with the option mentioned by @Dr-Bean i'm gonna throw in my |
Or consider creating a script which loops through the subdirs of the current dir, and runs a |
Or we can provide a nzbget-scripts package separatly that contains a bunch of scripts that we can update separately. |
Yeah, but wouldn't you run into exactly the same issue as with using the share dir in the nzbget package? If it's user-accessible, then once created, we don't control the location anymore. Either people control the contents (e.g. add scripts, adjust scripts, and even update scripts), or we do. If the latter, that means that e.g. @cytec still has the same issue with restoring additional scripts. If the former, then we might break stuff when updating. edit: clarify wording. |
We can make it so the user doesn't get to chose the install dir. Also with this, we can make a background task that creates symlinks from a user defined dir to our closed directory ( What do you think? |
At first glance, I see a lot of possible complications, but it's growing on me ;) |
An interface is good, although developing interfaces takes some time and the current UIs would benefit from an update for DSM 6.0 look and feel. As there is no hurry I think we can see this as a long term goal. |
An interface as in a stand-alone app that is used within DSM? |
Yes, e.g. similar to Debian-Chroot. In this case, it's a nice-to-have, and unless someone has a lot of time on their hands, we'll probably never get to it ;) |
Would it be better to make a request with @hugbug initially to have an We could then have a curated set of scripts installed to a folder that we
|
Diaoul:
The most important thing: Depending on how the package system works (I don't know details) you could install the default scripts into a directory which isn't directly used by nzbget and then copy the scripts into ppscripts-dir in a post-install step. For extra scripts you can:
I personally think that users should learn how to install scripts on their own. Everyone benefits from this:
|
Thanks @hugbug. Ftr, I think this whole discussion was aimed at making it easier for users to install scripts on their own, but we'd still like to provide a starting point :) So the following seems to be where we're heading:
Any holes in that? |
The wizard should probably ask which of the nzbget packages is installed, to adjust the correct config file. A checkbox for each package in the wizard? |
Would there be an appetite to add the VideoSort script added to the nzbget and nzbget-testing packages? I think that it would be a good addition for those of us who let VideoSort handle renaming and relocating of downloaded media (as opposed to SickBeard, Sonarr, CouchPotato, etc.). Not to mention that VideoSort is written by hugbug.
https://github.com/nzbget/VideoSort
I would be happy to do the work and submit the pull request, but I would like to get buy in from the repo owners before doing so. Thanks!
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: