-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Import and Rename Extra files #1544
Conversation
What's the status here? Seems like #459 is on the cusp of being completed and it's much needed. |
Looking forward for this feature 💛 Is about to move my whole library, but I really dont want to move the srt's manually |
any news about ? |
23ebd10
to
433a980
Compare
Issues:
|
433a980
to
303f1d8
Compare
Rebased and fixed the importing not using the proper language as part of the extension. |
Won't that change the extension column in the db? |
Looks like past me thought of that and we get it from the path again before returning the |
Not entirely: https://github.com/Sonarr/Sonarr/pull/1544/files#diff-1778dc79c400fb3c577b08af93f8c40fR61 Don't redefine 'extension', for all ExtraFiles the extension is the same thing, the file extension. Don't concat the language there. What you need to do is add a function that Builds the new filename in it's entirety, including extension. Not a 'GetExtensionWithSuffix'. |
I'm referring to: https://github.com/Sonarr/Sonarr/blob/develop/src/NzbDrone.Core/Extras/Files/ExtraFileManager.cs#L64 which is getting the extension from the file. We can get the new file name separately and pass that in instead of building it there and DRY things up a bit though... |
DRYed out |
Awesome work @markus101! 👏 |
06b2985
to
939d4b8
Compare
How do you enable this feature? |
Media Management: Import Extra Files and set the extensions to import. It's an advanced setting. It's not released in a master release yet, just develop. |
@markus101 |
hey i am running 0.2.0.654 - Apr 18 2017 |
@spacecabbie That's a Radarr version number, this is Sonarr. |
@Taloth Yes i already figured out the diferance :) i have posted in the related treath |
Database Migration
NO
Description
Importing of extra files (new option in the UI) and renaming them when the episode file is renamed.
Issues Fixed or Closed by this PR
Closes #459