bretswinney 22 Posted April 2, 2020 Posted April 2, 2020 (edited) I would find it very helpful to have the time with the date when the organize completes the task. Is this possible? @@MikePlanet Edited April 2, 2020 by bretswinney
bretswinney 22 Posted April 2, 2020 Author Posted April 2, 2020 Yes Sent from my iPhone using Tapatalk
Luke 40064 Posted April 2, 2020 Posted April 2, 2020 Ok yes, it's not a bad idea. Thanks for the feedback. 1
horstepipe 377 Posted July 14, 2021 Posted July 14, 2021 (edited) @chef as you currently seem to update the plugin. Any idea about this one? Best regards! Edited July 14, 2021 by horstepipe 1
chef 3808 Posted July 14, 2021 Posted July 14, 2021 (edited) 13 minutes ago, horstepipe said: @chef as you currently seem to update the plugin. Any idea about this one? Best regards! Yes this has been implement. We look for the Resolution in the name. It looks for 2160p, 1080p, 720p, 480p (can be extended to target other resolutions on request). It has the ability to manage these files into your library while maintaining embys multi-version naming requirements. However, it will currently name the file with a "-" then the resolution: {FileName} - 2160p.ext {FileName} - 1080p.ext This means that in the Emby UI it will have options: 2160p or 1080p I thought about adding a string replacement that allowed "4K" instead of 2160p, but... I didn't add it. Still could if that was what people wanted. Edited July 14, 2021 by chef
horstepipe 377 Posted July 14, 2021 Posted July 14, 2021 ahm sorry but I think you misunderstood. I do not want to make use of Emby's multiversion feature (at least not for this use case) so I made two libraries 1. Shows 2. Shows (4K) So I need these episodes to be added to the appropiate folders.
horstepipe 377 Posted July 14, 2021 Posted July 14, 2021 I'm fine giving the file a "good" name before. And I'm fine using the smart match feature (for each show once). But currently there's no option to make the plugin aware that these are "two" shows.
chef 3808 Posted July 14, 2021 Posted July 14, 2021 Just now, horstepipe said: ahm sorry but I think you misunderstood. I do not want to make use of Emby's multiversion feature (at least not for this use case) so I made two libraries 1. Shows 2. Shows (4K) So I need these episodes to be added to the appropiate folders. Ah, right I misunderstood. Moving the file based on resolution, into different folders. Let me see if I can do that. I'll be back.
horstepipe 377 Posted July 14, 2021 Posted July 14, 2021 Just now, chef said: Ah, right I misunderstood. Moving the file based on resolution, into different folders. Let me see if I can do that. I'll be back. ohh sorry these are strm files so there's no metadata you can rely on *duck*
chef 3808 Posted July 14, 2021 Posted July 14, 2021 1 hour ago, horstepipe said: ohh sorry these are strm files so there's no metadata you can rely on *duck* The only thing that would concern me about automating the process without any type of naming convention (in the actual name of the file), is...well.. how? Currently the plugin is relying on the name of the file, to tell us what to do with it. I suppose we could act on the extension of the file?? Maybe create a rule which move files specifically into certain folders based on extension. But, I'm afraid without knowing a head of time what the file contains, we'd be placing all types with the same extension into one folder. Maybe not impossible, but I'd have to think about how exactly.
neik 870 Posted July 14, 2021 Posted July 14, 2021 1 hour ago, chef said: Maybe not impossible, but I'd have to think about how exactly. What about ffprobing the file and then deciding based on the retrieved resolution? Just thinking out loud...
chef 3808 Posted July 14, 2021 Posted July 14, 2021 1 hour ago, neik said: What about ffprobing the file and then deciding based on the retrieved resolution? Just thinking out loud... I thought about that. But because the file gets probed in the library folder, it would mean probing it twice (). What is the naming if the stream files?
neik 870 Posted July 15, 2021 Posted July 15, 2021 10 hours ago, chef said: I thought about that. But because the file gets probed in the library folder, it would mean probing it twice (). It shouldn't neither be too performance nor time intensive, so I wouldn't say it's a showstopper. Might be worth to give it a try... 1
chef 3808 Posted July 20, 2021 Posted July 20, 2021 What is inside a strm file? Is it like a pointer to another file or something? Forgive my ignorance about the topic.
Luke 40064 Posted July 20, 2021 Posted July 20, 2021 1 hour ago, chef said: What is inside a strm file? Is it like a pointer to another file or something? Forgive my ignorance about the topic. Yes exactly: https://support.emby.media/support/solutions/articles/44001159147-strm-files 1
chef 3808 Posted July 20, 2021 Posted July 20, 2021 (edited) On 7/14/2021 at 12:37 PM, horstepipe said: ohh sorry these are strm files so there's no metadata you can rely on *duck* After some time learning about this. I think we *might* be able to handle this. Any chance I could see what is written inside the strm file? @horstepipe If it is something you'd rather pm me then please do Of course of we are going to handle strm files I'd better handle all type of them. Edited July 20, 2021 by chef
chef 3808 Posted July 20, 2021 Posted July 20, 2021 Okay, I'm thinking about first steps in handling file sorting by resolutions into different folders first. This means extending the sorting options to have more then one default folder for episodes and more then one default for movies. Definitely, want to keep things simple. It would have an option to enable file to folder sorting based on resolution, as well as the 'multi-version' option. Most of the extensions to the plugin so far, have mostly been in place from the prior developer. Almost as if, who ever originally wrote the thing, had 'future proofed' the code. LOL. The sign of a good developer. Let's see how that pans out, then look at reading stream files and trying to parse the information appropriately using the Regex.
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