Jump to content

Feature Request:AutoOrganize


bretswinney

Recommended Posts

bretswinney

I would find it very helpful to have the time with the date when the organize completes the task.  Is this possible? @@MikePlanet

Edited by bretswinney
Link to comment
Share on other sites

  • 1 year later...
horstepipe

@chef
as you currently seem to update the plugin.

Any idea about this one?

Best regards!

Edited by horstepipe
  • Like 1
Link to comment
Share on other sites

chef
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 by chef
Link to comment
Share on other sites

horstepipe

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.

Link to comment
Share on other sites

horstepipe

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.

Link to comment
Share on other sites

chef
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.

Link to comment
Share on other sites

horstepipe
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* 🙂

Link to comment
Share on other sites

chef
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.

Link to comment
Share on other sites

neik
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...

Link to comment
Share on other sites

chef
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?

 

Link to comment
Share on other sites

neik
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... 🙂

 

  • Like 1
Link to comment
Share on other sites

chef

What is inside a strm file? Is it like  a pointer to another file or something? Forgive my ignorance about the topic.

Link to comment
Share on other sites

chef
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 by chef
Link to comment
Share on other sites

chef

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.

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...