JunkStar 11 Posted October 17, 2015 Share Posted October 17, 2015 Hi I would really like that option to use the auto organizer without it renaming the files since some of the stuff i download comes with custom subtitles and renaming the media file would break that. Would this be possible to implement? Link to comment Share on other sites More sharing options...
JunkStar 11 Posted October 22, 2015 Author Share Posted October 22, 2015 Anyone? Link to comment Share on other sites More sharing options...
dkuser_mb3 0 Posted November 3, 2015 Share Posted November 3, 2015 +1 Link to comment Share on other sites More sharing options...
Guest Posted December 4, 2015 Share Posted December 4, 2015 +1 Link to comment Share on other sites More sharing options...
Nologic 30 Posted December 5, 2015 Share Posted December 5, 2015 Have you thought about embedding the subtitles into the container? Then renaming the container wouldn't matter. Link to comment Share on other sites More sharing options...
Vidman 589 Posted December 5, 2015 Share Posted December 5, 2015 That's not how downloaded files are compiled tho;) Link to comment Share on other sites More sharing options...
Nologic 30 Posted December 5, 2015 Share Posted December 5, 2015 True, but a script could be written that would batch the embedding of subtitles. Link to comment Share on other sites More sharing options...
Guest Posted December 5, 2015 Share Posted December 5, 2015 I think it's probably easier just to add a checkbox "Don't rename" to the Auto-Organize interface. Link to comment Share on other sites More sharing options...
Nologic 30 Posted December 5, 2015 Share Posted December 5, 2015 Well there is also the possibility of using theRenamer to rename files...this will also rename the sub's and such. Link to comment Share on other sites More sharing options...
oxidius 0 Posted April 14, 2016 Share Posted April 14, 2016 I'd like that feature too. I love auto-organize, but I can't use it anymore because of loosing the team, resolution, source, etc. Link to comment Share on other sites More sharing options...
softworkz 3349 Posted April 22, 2016 Share Posted April 22, 2016 The resolution is extracted by Emby, that shouldn't be a problem. But the original filename _does_ get lost, that's right. We might be able to add a pattern/token for the original filename to the "Episode file patterns" in the autoorganize configuration. @Luke: What do you think about that? Link to comment Share on other sites More sharing options...
Luke 37251 Posted April 22, 2016 Share Posted April 22, 2016 That's fine Link to comment Share on other sites More sharing options...
softworkz 3349 Posted April 22, 2016 Share Posted April 22, 2016 Good, I'll put this on my list... 1 Link to comment Share on other sites More sharing options...
pajo2000 1 Posted July 12, 2016 Share Posted July 12, 2016 Still hoping for some solution for this 1 Link to comment Share on other sites More sharing options...
HomerS 8 Posted December 10, 2016 Share Posted December 10, 2016 (edited) +1 Been playing around with the code just to learn and this was an easy fix. In Emby.Server.Implementations.FileOrganization you will find the function responsible for naming GetEpisodeFileName and by adding a new pattern I can now use the original file name in my naming pattern like this : %fn.%ext. %fn becomes a match for the filename without extension by adding one more Replace to the result. Of course the settings page would need to be updated to reflect this as well. var result = pattern.Replace("%sn", seriesName) .Replace("%s.n", seriesName.Replace(" ", ".")) .Replace("%s_n", seriesName.Replace(" ", "_")) .Replace("%s", seasonNumber.ToString(_usCulture)) .Replace("%0s", seasonNumber.ToString("00", _usCulture)) .Replace("%00s", seasonNumber.ToString("000", _usCulture)) .Replace("%ext", sourceExtension) .Replace("%en", "%#1") .Replace("%e.n", "%#2") .Replace("%e_n", "%#3") .Replace("%fn",Path.GetFileNameWithoutExtension(sourcePath)); Edited December 10, 2016 by HomerS Link to comment Share on other sites More sharing options...
HomerS 8 Posted December 14, 2016 Share Posted December 14, 2016 @@Luke (or any other dev) Could we please get this into the dev branch ? Im not into js so not sure how to get it onto the settings page but the it is this file MediaBrowser.WebDashboard\dashboard-ui\dashboard\autoorganizetv.js Link to comment Share on other sites More sharing options...
Luke 37251 Posted December 14, 2016 Share Posted December 14, 2016 It's possible for a future update, yes. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now