Jump to content

Genre Cleaner 1.0.1.4 do not work


Dan64

Recommended Posts

I'm using the Server Version 3.0.5464.40000, and the Plugin Genre Cleaner Version 1.0.1.4

 

The Plugin do not map any more the configured mappings. Also pushing the button "Start Library Scan" do not start any scan. Starting the library scan using the advance task do not solve the problem.

 

Link to comment
Share on other sites

Here a screenshot of some mappings

 

54a58996bf8e8_Genres_Capture2.jpg

 

And here a screenshoot of the Genres in MB3

 

54a589f8520a7_Genres_Capture.jpg

 

And here the logs

 

 

 

2015-01-01 20:45:21.9365 Info - Main: Media Browser
	Command line: C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.2.9200.0
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
2015-01-01 20:45:30.0497 Info - App: Application version: 3.0.5464.40000
2015-01-01 20:45:30.9720 Info - App: Application configuration:
	{"EnableUPnP":true,"PublicPort":8096,"HttpServerPortNumber":8096,"EnableInternetProviders":true,"MetadataPath":"","SeasonZeroDisplayName":"Specials","SaveLocalMeta":true,"EnableLocalizedGuids":false,"PreferredMetadataLanguage":"it","MetadataCountryCode":"IT","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"RealtimeMonitorDelay":30,"EnableDashboardResponseCaching":true,"EnableTvDbUpdates":false,"EnableTmdbUpdates":false,"EnableFanArtUpdates":false,"ImageSavingConvention":"Legacy","EnablePeoplePrefixSubFolders":true,"MediaEncodingQuality":"Auto","MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Movie","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Disc","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":5,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":["Media Browser Legacy Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["The Open Movie Database","TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheMovieDb","FanArt","Screen Grabber"]},{"ItemType":"Episode","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Series","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicVideo","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Trailer","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"AdultVideo","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Video","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableDebugEncodingLogging":false,"EnableAutomaticRestart":true,"EnableRealtimeMonitor":true,"PathSubstitutions":[],"UICulture":"en-us","DownMixAudioBoost":2,"PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":true,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":false},"FindInternetTrailers":true,"InsecureApps7":["Chromecast","iOS","Unknown app","MediaPortal","Media Portal","iPad","iPhone","Roku"],"SaveMetadataHidden":false,"PlaylistImagesDeleted":true,"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Beta","LogFileRetentionDays":3,"RunAtStartup":true,"IsStartupWizardCompleted":true}
2015-01-01 20:45:31.9195 Info - App: Loading CoverArt, Version=4.0.6.9, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading GenreCleaner, Version=1.0.1.4, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.Plugins.RottenTomatoes, Version=1.0.5385.34041, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading ServerRestart, Version=1.0.1.1, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.Api, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.WebDashboard, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.Model, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.Common, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.Controller, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.Providers, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.Common.Implementations, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.Server.Implementations, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.MediaEncoding, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.Dlna, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.LocalMetadata, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.XbmcMetadata, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.IsoMounter, Version=1.0.5344.20624, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.ServerApplication, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:31.9195 Info - App: Loading MediaBrowser.Server.Startup.Common, Version=3.0.5464.40000, Culture=neutral, PublicKeyToken=null
2015-01-01 20:45:33.4410 Info - SqliteUserRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\users.db
2015-01-01 20:45:33.8964 Info - SqliteItemRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\chapters.db
2015-01-01 20:45:33.9294 Info - SqliteItemRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\mediainfo.db
2015-01-01 20:45:33.9735 Info - SqliteFileOrganizationRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\fileorganization.db
2015-01-01 20:45:34.0225 Info - AuthenticationRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\authentication.db
2015-01-01 20:45:34.0566 Info - SyncRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\sync6.db
2015-01-01 20:45:34.5230 Info - App: FFMpeg: C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\ffmpeg\20141111\ffmpeg.exe
2015-01-01 20:45:34.5230 Info - App: FFProbe: C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\ffmpeg\20141111\ffprobe.exe
2015-01-01 20:45:35.2417 Info - ImageProcessor: libwebp version: 0.4.1
2015-01-01 20:45:35.3408 Info - ActivityRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\activitylog.db
2015-01-01 20:45:35.4719 Info - SqliteDisplayPreferencesRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\displaypreferences.db
2015-01-01 20:45:35.4939 Info - SqliteItemRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\library.db
2015-01-01 20:45:35.6831 Info - SqliteProviderInfoRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\refreshinfo.db
2015-01-01 20:45:35.8442 Info - SqliteUserDataRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\userdata_v2.db
2015-01-01 20:45:35.9103 Info - SqliteNotificationsRepository: Sqlite 3.8.6 opening C:\Users\MediaCenter\AppData\Roaming\MediaBrowser-Server\data\notifications.db
2015-01-01 20:45:36.4188 Info - HttpServer: Calling ServiceStack AppHost.Init
2015-01-01 20:45:37.9693 Info - ServiceStackHost: Initializing Application took 3610,4281ms
2015-01-01 20:45:37.9943 Info - ServerManager: Loading Http Server
2015-01-01 20:45:38.1835 Info - HttpServer: Adding HttpListener prefix http://+:8096/mediabrowser/
2015-01-01 20:45:38.7230 Info - App: Core startup complete
2015-01-01 20:45:38.8791 Debug - PortMapper: Starting NAT discovery
2015-01-01 20:45:38.9682 Info - Dlna: SSDP service started
2015-01-01 20:45:39.0233 Info - CoverArt: CoverArt Version 4.0.6.9 Loaded.
2015-01-01 20:45:39.0233 Debug - Dlna: Starting alive notifier
2015-01-01 20:45:39.0413 Debug - Dlna: Found interface: Ethernet. Type: Ethernet. Status: Up
2015-01-01 20:45:39.0593 Debug - Dlna: Found interface: Loopback Pseudo-Interface 1. Type: Loopback. Status: Up
2015-01-01 20:45:39.0593 Debug - Dlna: Found interface: isatap.{8A6F94FA-2061-4B39-8E02-803CEE217FB9}. Type: Tunnel. Status: Down
2015-01-01 20:45:39.0593 Debug - Dlna: Found interface: Connessione alla rete locale (LAN)* 12. Type: Tunnel. Status: Up
2015-01-01 20:45:39.1174 Info - Dlna: Creating SSDP listener on 192.168.0.22
2015-01-01 20:45:39.1174 Info - Dlna: Creating SSDP listener on 127.0.0.1
2015-01-01 20:45:39.1544 Debug - Dlna: Registered mount a451000e-dfb5-166a-4511-1db1cb853bca at http://192.168.0.22:8096/mediabrowser/dlna/a451000edfb5166a45111db1cb853bca/description.xml
2015-01-01 20:45:39.1784 Debug - HttpServer: HTTP GET http://192.168.0.22:8096/mediabrowser/dlna/a451000edfb5166a45111db1cb853bca/description.xml
	Ip: 192.168.0.22:30268. Headers: FriendlyName=MCE2013,Host=192.168.0.22:8096,User-Agent=WINDOWS, DLNADOC/1.50 UPnP/1.0, Intel MicroStack/1.0.1497
2015-01-01 20:45:39.3046 Info - App: HttpClientManager GET: http://mediabrowser3.com/community/index.php?/blog/rss/1-media-browser-developers-blog
2015-01-01 20:45:39.7059 Debug - PortMapper: NAT device found: 192.168.0.22
2015-01-01 20:45:39.7059 Info - App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/validate
2015-01-01 20:45:39.7260 Debug - PortMapper: Creating port map on port 8096
2015-01-01 20:45:39.8471 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3ServerNotifications.json
2015-01-01 20:45:39.8801 Debug - Dlna: No matching device profile found. The default will be used. User-agent: WINDOWS, DLNADOC/1.50 UPnP/1.0, Intel MicroStack/1.0.1497. 
2015-01-01 20:45:39.9582 Debug - HttpServer: HTTP GET http://192.168.0.22:8096/mediabrowser/dlna/connectionmanager/connectionmanager.xml
	Ip: 192.168.0.22:25940. Headers: FriendlyName=MCE2013,Host=192.168.0.22:8096,User-Agent=WINDOWS, DLNADOC/1.50 UPnP/1.0, Intel MicroStack/1.0.1497
2015-01-01 20:45:39.9582 Debug - HttpServer: HTTP Response 200 to 192.168.0.22. Response time: 733,7012 ms.
	Url: http://192.168.0.22:8096/mediabrowser/dlna/a451000edfb5166a45111db1cb853bca/description.xml
2015-01-01 20:45:39.9582 Debug - HttpServer: HTTP Response 200 to 192.168.0.22. Response time: 9,0083 ms.
	Url: http://192.168.0.22:8096/mediabrowser/dlna/connectionmanager/connectionmanager.xml
2015-01-01 20:45:39.9582 Debug - HttpServer: HTTP GET http://192.168.0.22:8096/mediabrowser/dlna/contentdirectory/contentdirectory.xml
	Ip: 192.168.0.22:41731. Headers: FriendlyName=MCE2013,Host=192.168.0.22:8096,User-Agent=WINDOWS, DLNADOC/1.50 UPnP/1.0, Intel MicroStack/1.0.1497
2015-01-01 20:45:39.9742 Debug - HttpServer: HTTP Response 200 to 192.168.0.22. Response time: 5,0051 ms.
	Url: http://192.168.0.22:8096/mediabrowser/dlna/contentdirectory/contentdirectory.xml
2015-01-01 20:45:40.6934 Debug - CoverArt: CoverArt Registration Status - Registered: True In trial: False Expiration Date: 31/12/1899 23:00:00 Is Valid: True
2015-01-01 20:45:40.7935 Info - App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/validate
2015-01-01 20:45:41.4852 Debug - Genre Cleaner: GenreCleaner Registration Status - Registered: True In trial: False Expiration Date: 31/12/1899 23:00:00 Is Valid: True
2015-01-01 20:45:41.7284 Info - App: StartupTrigger fired for task: Check for application updates
2015-01-01 20:45:41.7284 Info - App: StartupTrigger fired for task: Scan media library
2015-01-01 20:45:41.7284 Info - App: Executing Check for application updates
2015-01-01 20:45:41.7284 Info - App: Executing Scan media library
2015-01-01 20:45:41.7454 Info - App: Validating media library
2015-01-01 20:45:41.7454 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json
2015-01-01 20:45:41.7454 Info - App: StartupTrigger fired for task: Check for plugin updates
2015-01-01 20:45:41.7454 Info - App: Executing Check for plugin updates
2015-01-01 20:45:41.7544 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json
2015-01-01 20:45:41.7544 Info - App: StartupTrigger fired for task: Refresh Guide
2015-01-01 20:45:41.7544 Info - App: Executing Refresh Guide
2015-01-01 20:45:41.7695 Info - App: Refresh Guide Completed after 0 minute(s) and 0 seconds
2015-01-01 20:45:41.8736 Info - App: StartupTrigger fired for task: Start new log file
2015-01-01 20:45:41.8736 Info - App: Executing Start new log file 

 

 

Edited by Dan64
Link to comment
Share on other sites

You'll need to actually refresh something that has the genres you are trying to affect and then attach the log file or use something like paste.org and provide a link.  Thanks.

Link to comment
Share on other sites

I think that the problem is related to the fact that I have all the movie/series locked. I need lock the series because I don't want that happen changes to the xml data (sometimes I have to adapt to my language or add different data). I think that Genres cleaner should be authorized to changes locked movies. Please don't ask me to unlock all the movies since are a lot. If it is necessary to respect the lock setting, a solution could be to add to the Genres Cleaner an option that allow the user to "explicitely" authorize the plugin to changes the Genres even for the locked movies/tv series.

 

Thanks

Edited by Dan64
Link to comment
Share on other sites

Vidman

Presumably if you have locked an items metadata it is because you have it set that items metadata exactly as you want it... So why would you want to allow a plugin to change it... That defeats the purpose of the lock metadata feature

Link to comment
Share on other sites

Yeah, I really think we need to respect that setting.

 

Typically, an items metadata wouldn't be locked until after the initial metadata is gathered, which would then allow genre cleaner to do its thing before you lock it.

Link to comment
Share on other sites

Vidman

I think that the problem is related to the fact that I have all the movie/series locked. I need lock the series because I don't want that happen changes to the xml data (sometimes I have to adapt to my language or add different data). I think that Genres cleaner should be authorized to changes locked movies. Please don't ask me to unlock all the movies since are a lot. If it is necessary to respect the lock setting, a solution could be to add to the Genres Cleaner an option that allow the user to "explicitely" authorize the plugin to changes the Genres even for the locked movies/tv series.

 

Thanks

Also you can define what tags of the metadata are locked so you could lock everything except the genre tags.
Link to comment
Share on other sites

Also you can define what tags of the metadata are locked so you could lock everything except the genre tags.

If you can suggest an easy way to do that for 2 thousands of films, suggestions are welcome.

Edited by Dan64
Link to comment
Share on other sites

Happy2Play

If you can suggest an easy way to do that for 2 thousands of films, suggestions are welcome.

 

I guess you could use notepad++ as discussed here.  But with these parameters.

 

Find:  <LockData>true</LockData>

 

Replace with:

Movie parameters: <LockedFields>Name|Overview|OfficialRating|Cast|ProductionLocations|Studios|Tags|Keywords|Images|Backdrops</LockedFields>

 

TV Parameters:    <LockedFields>Name|Overview|OfficialRating|Cast|ProductionLocations|Runtime|Studios|Tags|Keywords|Images|Backdrops</LockedFields>

 

You will may need to change your directory movie/tv depending on how your library is setup.

 

54a909c1393bb_replace.jpg

 

and you end up with this.

54a909ed211ac_reset.jpg

 

Run Genre Cleaner and reverse the process to relock.

 

**Everything may appear to still be lock since xml doesn't contain <LockData>false</LockData>.

 

Or just unlock everything at root folder run the cleaner then relock everything.

Edited by Happy2Play
Link to comment
Share on other sites

Vidman

If you can suggest an easy way to do that for 2 thousands of films, suggestions are welcome.

How did you lock them all in the first place?
Link to comment
Share on other sites

How did you lock them all in the first place?

That's a good question! Using the metadata manager, if I select the root folder and then lock this folder, the lock is propagated to all the sub-folders. While using this method it's easy to lock/unlock a lot of movies is not good to propagate the lock/unlock to the single metadata items. If for example I lock each item field excluding only the "Genres", this change is not propagated to the sub-folders. In any case a change in the code is necessary: Or is fixed this propagation or is fixed the Genres cleaner. It is obvious that if one install the Genre cleaner want to changes the Genres, this allowance could be implicit in the code or explicit adding a check box in the plugin where the user can gives explicitly to the plugin the permissions to change the Genres. I don't want to use external applications like notepad++ to solve this problem, since the plugin has been developed for this scope. In effect using notepad++ I could also change directly the Genres and the plugin has been developed just to simplify this process.

 

Thanks

Link to comment
Share on other sites

It is obvious that if one install the Genre cleaner want to changes the Genres...

 

The locking feature is typically used to lock only a small portion of one's library.  So the typical user would want genre cleaner to work on the items they haven't locked and not touch the ones they have.  After all, that's what locking it means.

 

I'm afraid you have a very unusual setup.  Why is it that you are locking all of your items metadata?

Link to comment
Share on other sites

I cannot find on github the sources for "Genres Plugin" If needed I can contribute the change. The way to go is to add an option to "ignore" the lock on the "Genres" in this way is compatible with the current setup and allow also the management of unusual setup like mine.

Link to comment
Share on other sites

I understand what you are asking for and it is not hard to do I just am not convinced it is something we want to do.  When someone locks their metadata it is supposed to mean the system will not change it.  

 

It also usually means that person has painstakingly created their metadata exactly how they want it.  Creating this feature - even as an option - will open the door for someone's hard work to be obliterated very easily.

Link to comment
Share on other sites

You are right, I'm locking the metadata because I don't want that the system will change it. The Genres is an exception and at the moment I see as simpler and effective to handle this exception inside the "Genres cleaner". The Genres cleaner cannot perform unexpected changes because the mapping rules are added explicitly by the user, I cannot imagine a situation where a user that add a given mapping rule do not want that this rule will be applied, It is easier for me imagine a situation like the mine where I don't want that the system could change in unexpected way the metadata since the user has, generally, not control on these changes. The "Genres Cleaner" is an exception also in this sense, all the changes are predictable and wanted since is the user that define the rules. In any case adding this as an option allow the user to use the plugin with the current behavior, sorry but I cannot understand or imagine what kind of hard work is at risky to be obliterated, for sure I'm risking to lose my hard work of changing, translating & controlling the metadata.        

Edited by Dan64
Link to comment
Share on other sites

The Genres cleaner cannot perform unexpected changes because the mapping rules are added explicitly by the user...

 

That is true except for the fact that only defined genres are allowed.  So, if a genre appears on metadata for which there is no mapping, it is deleted from that metadata.  This is where the potential for a lot of custom work someone may have done to their locked metadata could get destroyed.

 

Get several more people on your side and I'll happily consider this.

Link to comment
Share on other sites

Even the behavior that not mapped Genres are deleted is not so friendly :( . So one is not able to predict completely the changes performed by Genres Cleaner.... I think that is necessary to find a robust solution that works as friendly as possible. Ok, another change could be to modify this behavior. In the case that "Genres Cleaner" find a genre not mapped, the plugin have to left unchanged this genre, in case the user want this genre to be deleted is necessary add explicitly a rule for this deletion (so the mapping rule will be: "DummyGenre" -> DELETED).

In this way all the changes performed by "Genres Cleaner" will predictable and safe :) . What do you think ? no risk for a lot of custom work to get destroyed (risk that exist even with the current version).  

Link to comment
Share on other sites

It works the way it does because most people want to use this plug-in so that ONLY the genres they want to see ever display.  This makes it very easy to setup and you never have to worry about it again.

 

If it worked the way you suggest, then every time a movie came through with some bogus genre definition you didn't like, you'd have to go back into the plug-in, add that to the delete list and then refresh all your items.

 

The way it works now is much more user friendly in my view.

Link to comment
Share on other sites

It's true that some time will be necessary perform some maintenance on the mappings, but at least in this way it is possible know when a new genre is added, with the current control will be deleted without knowing that the deletion happened. This is specially risky for the foreign films. Supposing the I have mapped "Avventura" (italian) to "Adventure" (english) and that a new film with the Genre "Aventure" (french) is added to the library. After the library scan (that usually happen after every movie insertion) the not mapped Genre will be deleted, while should be better left this unchanged and give the opportunity to the user to perform the proper mapping. I think that in this way works definitively better (point of view of a not english speaking person).

Edited by Dan64
Link to comment
Share on other sites

  • 2 weeks later...

Perhaps adding the toggle option of allowing 1 genre to be added if none match the mapping list would resolve it. That's how it was tackled in meta2 genre and studio cleaners, that way a user doesnt have blank info in either of these fields and then can easily map the newly added genre or studio when the area starts to get messy again

Link to comment
Share on other sites

It's true that some time will be necessary perform some maintenance on the mappings, but at least in this way it is possible know when a new genre is added, with the current control will be deleted without knowing that the deletion happened. This is specially risky for the foreign films. Supposing the I have mapped "Avventura" (italian) to "Adventure" (english) and that a new film with the Genre "Aventure" (french) is added to the library. After the library scan (that usually happen after every movie insertion) the not mapped Genre will be deleted, while should be better left this unchanged and give the opportunity to the user to perform the proper mapping. I think that in this way works definitively better (point of view of a not english speaking person).

 

Ok was just trying to help decipher what i think would be a solution. The way it was tackled in meta2 example will be below, I mainly used this scenerio for studios but was possible with genres as well.

 

Let's say you have your mappings set up and a movie or show you are adding does not match anything in your mappings, like lets say independent is a new genre, instead of the movie or series ended up with nothing you could provide a option via the settings of this plugin to always fill in with one genre regardless of the mappings. Which to me kinda sounds like what the user is after, no blanks in meta, allowing him to map the new genre to something else or just allow it to remain.

Link to comment
Share on other sites

But that defeats the purpose of the cleaner.  If 10 new movies come in with new bogus genres, they all show up and the cleaner isn't cleaning much.

 

The plug-in was designed for people who know exactly what genres they want in their metadata and don't want any others.

Link to comment
Share on other sites

I have understood the issue, in effect what I need is a Genre Mapper. I end up with writing a little utility that does exactly what I need. If you think that could be useful to others people I could contribute a plugin, but I would need the Genre Cleaner as reference.

 

Thanks

 

 

Inviato dal mio iPhone utilizzando Tapatalk

  • Like 2
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...