Jump to content

Auto Organise - Respect Existing Series Name/Location


ginjaninja
Go to solution Solved by aaronsomek,

Recommended Posts

ginjaninja

have been making use of AutoOrganise more and more as my primary file mover., I've just noticed an issue with respecting when a show already exists, in some [not all] circumstances.

image.thumb.png.d1c6bcb663e0e33a047273e7081297fd.png

despite the show being identified correctly, it is not being matched to the existing show / existing location in the Emby database (which happens to be in a different location / library to Autoorganise's default, and whose folder also happens not to match the default Autoorganise naming show folder naming scheme)

image.png.083f74b16c5bcb11f1e5b18a626aa780.png

the show already exists in the library

image.png.70a9b6f591e955551b7bcd46715b01f3.png

and in both cases, emby show object has tvdbid 334149

 

Evidence suggests if the show is in the same library as the Autoorganise default, its doesnt matter if the series folder naming doesnt match, AO correctly puts the file in the right location.

Perhaps the issue is with shows in libraries other than the AO default? AO is treating as a new series creation? rather than matching existing?

 

Expected behaviour would be once AO has IDed the show the episode belongs to, all librarys are searched for a show matching that ID.

2022-04-12 12:46:48.021 Warn App: Unable to determine series name from C:\TVMove\Panorama-Surviving_the_Cost_of_Living_Crisis.mp4
2022-04-12 12:46:48.028 Info App: Sorting file C:\TVMove\Richard Osmans House of Games.s05e126.Week 22 Monday.mp4
2022-04-12 12:46:48.161 Debug App: Extracted information from C:\TVMove\Richard Osmans House of Games.s05e126.Week 22 Monday.mp4. Series name Richard Osmans House of Games, Season 5, Episode 126
2022-04-12 12:46:48.182 Info HttpClient: POST https://api4.thetvdb.com/v4/login
2022-04-12 12:46:48.533 Info HttpClient: GET https://api4.thetvdb.com/v4/search?type=series&q=Richard Osmans House of Games
2022-04-12 12:46:48.989 Info HttpClient: GET https://api.themoviedb.org/3/configuration?api_key=‌f6bd687ffa63cd282b6ff2c6877f2669‌
2022-04-12 12:46:49.065 Info App: MovieDb settings: {"images":{"base_url":"http://image.tmdb.org/t/p/","secure_base_url":"https://image.tmdb.org/t/p/","backdrop_sizes":["w300","w780","w1280","original"],"logo_sizes":["w45","w92","w154","w185","w300","w500","original"],"poster_sizes":["w92","w154","w185","w342","w500","w780","original"],"profile_sizes":["w45","w185","h632","original"],"still_sizes":["w92","w185","w300","original"]},"change_keys":["adult","air_date","also_known_as","alternative_titles","biography","birthday","budget","cast","certifications","character_names","created_by","crew","deathday","episode","episode_number","episode_run_time","freebase_id","freebase_mid","general","genres","guest_stars","homepage","images","imdb_id","languages","name","network","origin_country","original_name","original_title","overview","parts","place_of_birth","plot_keywords","production_code","production_companies","production_countries","releases","revenue","runtime","season","season_number","season_regular","spoken_languages","status","tagline","title","translations","tvdb_id","tvrage_id","type","video","videos"]}
2022-04-12 12:46:49.068 Info App: MovieDbProvider: Finding id for item: Richard Osmans House of Games
2022-04-12 12:46:49.071 Debug App: Throttling Tmdb by 218 ms
2022-04-12 12:46:49.289 Info HttpClient: GET https://api.themoviedb.org/3/search/tv?api_key=‌f6bd687ffa63cd282b6ff2c6877f2669‌&query=Richard Osmans House of Games&language=en
2022-04-12 12:46:49.419 Info HttpClient: GET https://private.omdbapi.com?apikey=‌fe53f97e‌&plot=full&r=json&s=Richard Osmans House of Games&type=series
2022-04-12 12:46:50.017 Error ProviderManager: Error searching
	*** Error Report ***
	Version: 4.7.0.34
	Command line: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.19044
	Framework: .NET 6.0.2
	OS/Process: x64/x64
	Runtime: C:/Users/Nicholas Bird/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Nicholas Bird\AppData\Roaming\Emby-Server\system
	System.NotImplementedException: System.NotImplementedException: The method or operation is not implemented.
	   at MovieDb.MovieDbEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
	   at MovieDb.MovieDbEpisodeProvider.GetSearchResults(EpisodeInfo searchInfo, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.ProviderManager.GetSearchResults[TLookupType](IRemoteSearchProvider`1 provider, TLookupType searchInfo, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery`1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken)
	Source: MovieDb
	TargetSite: System.Threading.Tasks.Task`1[MediaBrowser.Controller.Providers.MetadataResult`1[MediaBrowser.Controller.Entities.TV.Episode]] GetMetadata(MediaBrowser.Controller.Providers.EpisodeInfo, System.Threading.CancellationToken)
	
2022-04-12 12:46:50.018 Info HttpClient: GET https://private.omdbapi.com?apikey=‌fe53f97e‌&plot=full&r=json&i=tt7316998&Episode=126&Season=5
2022-04-12 12:46:50.543 Info App: Sorting file C:\TVMove\Richard Osmans House of Games.s05e126.Week 22 Monday.mp4 into series K:\TV07\Richard Osman's House of Games (2017)
2022-04-12 12:46:50.545 Info App: Sorting file C:\TVMove\Richard Osmans House of Games.s05e126.Week 22 Monday.mp4 to new path K:\TV07\Richard Osman's House of Games (2017)\Season 05\Richard Osman's House of Games - S05E126 - Sarah Kendall, Jay McGuiness, Linda Robson and Bobby Seagull (1 5).mp4
2022-04-12 12:46:50.546 Debug LibraryMonitor: New file refresher created for K:\TV07\Richard Osman's House of Games (2017)

 

Link to comment
Share on other sites

  • Solution
aaronsomek

Are you using the default plugin, or have you tried the updated version in develoment by Chef?

Jump to the last pages and find a post by Chef with the attached file. To install it:
Stop your server.
Extract the file to $USER$\AppData\Roaming\Emby-Server\programdata\plugins and overwrite.
Delete the file $USER$\AppData\Roaming\Emby-Server\programdata\data\fileorganization.db
Start the server.

Link to comment
Share on other sites

ginjaninja
On 17/04/2022 at 01:28, aaronsomek said:

Are you using the default plugin, or have you tried the updated version in develoment by Chef?

Jump to the last pages and find a post by Chef with the attached file. To install it:
Stop your server.
Extract the file to $USER$\AppData\Roaming\Emby-Server\programdata\plugins and overwrite.
Delete the file $USER$\AppData\Roaming\Emby-Server\programdata\data\fileorganization.db
Start the server.

thanks wasnt aware of this newer version, yes it fixed the issue.

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