Jump to content

Server 4.8 and Auto Organize


Recommended Posts

Posted
6 minutes ago, AaronClarke said:

Sorry Luke... was just fetching it... took a while to upload

embyserver.txt 17.3 MB · 0 downloads

Strange. Try shutting down the server and deleting your autoorganize database from C:\Emby-Server\programdata

Then start back up and see if those sqlite errors happen again.

AaronClarke
Posted

I can't find a database called AutoOrganize... Is called something else?

image.png.785be8329e111f17224c74eccba4a396.png

Posted

Sorry, the folder is C:\Emby-Server\programdata\data

AaronClarke
Posted

I found fileorganization.db and removed that... Restarted the server and now they are being organised. Thanks.

Do you know why that was happening?

Posted
14 minutes ago, AaronClarke said:

I found fileorganization.db and removed that... Restarted the server and now they are being organised. Thanks.

Do you know why that was happening?

The plugin has changed it's database layout over the years and at some point the upgrade must not have been done correct. That and/or if you ever went back and forth from newer to older versions of the plugin, that can cause things like this.

Posted
19 hours ago, kingy444 said:

Popping back in with another thought because this mismatch could be pretty signifigant. Another mismatch I just had made me think of this, this time saved from file loss by metadata not being available for the mismatched target series

My analysis:
Previously in Auto Organise with Emby 4.7 the matching was pretty accurate because we were searching the provider metadata directly by the filename and not querying the local library

Because Emby 4.8 is now using the internal library it is going to be somewhat difficult to ensure you have an exact match unless it is the only result returned, even then it may be wrong because you may be wanting to add a secondary series with a similar name (and the "Create new series" goes out the window in that case).

From my understanding of the issue here we simply cannot assume the first result is the correct one

For instance a couple examples based on the TVDB names. I am sure this problem extends way past the below examples.
One Piece vs One Piece (2023) vs The One Piece
The Office (US) vs The Office vs The Office (PL)
The Avengers vs The Avengers: Earths Mightiest Heroes vs The Avengers: United They Stand
Charmed vs Charmed (2018) vs Charmed to Death 
Lost vs Lost! vs Lost (2021)
 

Sorry to dupe this thread, with the response from Aaron shortly after i posted this I was concerned it may get lost in the thread and I feel this one is probably more important than the "." issue

Posted

Hi, please try the Auto-Organize 1.7.2 update and see if the search is more accurate. Thanks.

Posted

Still getting similar results. 

The Series identification does seem to work OK. But the multiple series could present an issue with overwriting data when the match is not a one to one (and even then it is a little dicey)

What would your opinon be in enhancing the functionality so that the plugin allows "Automatic Mapping" Or "Semi-Automatic Mapping" ?

Thinking along the lines of, if multiple results are returned then "Semi-Automatic" would allow the user to "Match" that to the results, with an option to add that "match" to the Smart Matches so it is fully automatic next time?

Posted

What do you mean by multiple series?

Posted

You mentioned the new auto organise uses your current library as the source of data, so in the case where I search for say “the office” I would see results for all 3 “the office” series

 

Instead of assuming the first result is the correct one, the user would need to confirm the match before the sort to prevent a mismatch - once smart matches are built up it all essentially works in “fully automated” mode (until such time another multiple match happens)

Posted

Right OK there's two things at play here. We had the discussion about the names separated by dots. That's what the 1.7.2 update addresses.

Posted
20 hours ago, Luke said:

Right OK there's two things at play here. We had the discussion about the names separated by dots. That's what the 1.7.2 update addresses.

Given it a bit of testing and the 1.7.2 release seems to be handling the "." scenario again

What are your thoughts on the seperate "modes" for the plugin to avoid mismatches ?

Posted

Yea that makes sense, to not auto organize when multiple series matches are found. Or an option for that rather.

  • 3 months later...
kingy444
Posted

Found another case where lookup is not working
Current fix you applied works for series with Series Title but if it is Series Title (YEAR) then the lookup fails regardless of whether there is a "." in the name or not

This does not throw anything in the logs - just a failed to lookup Series Title the year is never included

This does not appear to affect all series for some reason

Posted

OK I think is just an extreme, highly unusual example:

Sorting file \\10.1.0.21\Sorting\TV\Doctor Who (2023) .S01.E04...73.Yards.mp4

 

Happy2Play
Posted

Don't know how Organizer maps as there is a mismatch in year for Doctor Who.

2024-06-11 12:35:41.541 Debug SqliteItemRepository: GetitemById Series 1384785 \\10.1.0.21\Media\TV\Doctor Who (2024)


024-06-11 12:35:46.636 Info App: Sorting file \\10.1.0.21\Sorting\TV\Doctor Who (2023) .S01.E04...73.Yards.mp4
2024-06-11 12:35:46.696 Debug App: Extracted information from \\10.1.0.21\Sorting\TV\Doctor Who (2023) .S01.E04...73.Yards.mp4. Series name Doctor Who, Season 1, Episode 4
2024-06-11 12:35:46.705 Warn App: Unable to find series in library matching name Doctor Who
2024-06-11 12:35:46.706 Info App: Sorting file \\10.1.0.21\Sorting\TV\Doctor Who 2023.S01.E06...Rogue.mp4
2024-06-11 12:35:46.706 Debug App: Extracted information from \\10.1.0.21\Sorting\TV\Doctor Who 2023.S01.E06...Rogue.mp4. Series name Doctor Who, Season 1, Episode 6
2024-06-11 12:35:46.709 Warn App: Unable to find series in library matching name Doctor Who
2024-06-11 12:35:46.712 Info App: Sorting file \\10.1.0.21\Sorting\TV\Doctor.Who.2023.S01.E05...Dot.&.Bubble.mp4
2024-06-11 12:35:46.712 Debug App: Extracted information from \\10.1.0.21\Sorting\TV\Doctor.Who.2023.S01.E05...Dot.&.Bubble.mp4. Series name Doctor.Who, Season 1, Episode 5
2024-06-11 12:35:46.715 Warn App: Unable to find series in library matching name Doctor.Who

 

Happy2Play
Posted

But yes those naming schemes are a little extreme/edge cases.

kingy444
Posted (edited)
11 minutes ago, Luke said:

OK I think is just an extreme, highly unusual example:

Sorting file \\10.1.0.21\Sorting\TV\Doctor Who (2023) .S01.E04...73.Yards.mp4

 

dont disagree - this was just testing because the default "Doctor.Who.(2023)" failed - kept them there for the sake of the logging you requested

that being said, remove the "." from the name and i dont think the example is extreme at all as "Doctor Who (2023) S01E04 73 Yards" yields the same results

Edited by kingy444
kingy444
Posted (edited)
7 minutes ago, Happy2Play said:

Don't know how Organizer maps as there is a mismatch in year for Doctor Who.

Thats just the folder level - the metadata is mapped correctly (and also only one example). "The Tick" found to have the same issue

Edited by kingy444
  • 1 month later...
kingy444
Posted (edited)

another example of a mismatch to add for testing, the correct series directory existed in the library already

Sorting file \\10.1.0.21\Sorting\Me.S01.E10...The.End.of.the.Beginning.mp4 to new path \\10.1.0.21\Media\TV\Merlin (2008)\Season 1\Merlin.S01.E10...The.Moment.of.Truth.mp4

 

Edited by kingy444
  • Thanks 1
Posted

Thanks for reporting. We'll take a look.

  • 7 months later...
blakeusblade
Posted

I'm experiecing this issue too... 

Not only does it not identiy the show but the interface no longer has the + / Plus button to add a new show. Preventing adding a new show to the collections...

Running Emby 4.8.11.0 with auto orgnaise (latest)

 

Screenshot 2025-03-14 at 9.00.22 PM.png

Posted
17 hours ago, blakeusblade said:

I'm experiecing this issue too... 

Not only does it not identiy the show but the interface no longer has the + / Plus button to add a new show. Preventing adding a new show to the collections...

Running Emby 4.8.11.0 with auto orgnaise (latest)

 

Screenshot 2025-03-14 at 9.00.22 PM.png

Hi @blakeusbladehave you setup any libraries using the tv shows content type?

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