TomGillen / MediaBrowser.Plugins.Anime

An anime metadata provider for Media Browser 3
GNU General Public License v2.0
6 stars 41 forks source link

Accept/Parse standard Anime naming convention without requiring renaming #6

Open smokey7722 opened 10 years ago

smokey7722 commented 10 years ago

Can the parsing code be adapted to support the standard naming/release convention being used by every fansub group out there?

The convention is: [< fansub group name >]< title >-[< episide >][< quality >][< crc >].mkv (the format is getting screwed up by github's parsing and its removing the underscores. I'm sure though you have seen the way they are named and the example below is correct except for the underscores around the episode name and number.

For example this is one that does not currently parse: [UTW]_AccelWorld-01[h264-720p][F574698F].mkv

anidb, trakt and others all show Accel World as a valid show and display all of its info but due to the parsing in this plugin, it does not accept it. I for one would prefer not having to change the naming as I am then unable to track the fansub group who released it for example at a minimum. The quality and crc could be embedded in metadata but that would end up editing all of my hundreds/thousands of episodes that are currently not being parsed.

TomGillen commented 10 years ago

This is a change that would need to be made in the server itself, as the file name parsing is handled by the server and is currently not extensible via plugins. If it were, I would likely use the hash to assist in identification, but that is not possible at the moment.

MBS currently ignores anything inside square brackets, so it may actually be the _AccelWorld-01 part which is breaking it, as that is not one of the naming formats supported.

It should work if you named your file something like: Season 1/[UTW]Accel World s01e01 [h264-720p][F574698F].mkv

MBS is supposed to also support absolute episode numbers without season folders, but last time I tested it, it was not working correctly. It may be fixed now, but if not, I'll add it to my to do list.

smokey7722 commented 10 years ago

Thats what I thought however I was referred to you for the change when it was being discussed as a feature request for an Anime media type. Thread link below.

http://mediabrowser.tv/community/index.php?/topic/7422-anime-support-in-media-browser-server-media-selection/

lalmanzar commented 10 years ago

Smokey, are you organizing your animes inside a season folder like in thetvdb? Because if you are, I have a plugin that will fix your issue. I created it because I keep the original names of my downloaded animes. Let me know and I'll send you the DLL.

smokey7722 commented 10 years ago

I replied on the MB forum but do you need the season folder to get your plugin to work? Or would it work with the content in the root folder for each show?

Adam Zucker

----- Original Message -----

From: "Luis Almanzar" notifications@github.com To: "thogil/MediaBrowser.Plugins.Anime" MediaBrowser.Plugins.Anime@noreply.github.com Cc: "smokey7722" adam@ajzucker.net Sent: Saturday, June 7, 2014 3:27:48 AM Subject: Re: [MediaBrowser.Plugins.Anime] Accept/Parse standard Anime naming convention without requiring renaming (#6)

Smokey, are you organizing your animes inside a season folder like in thetvdb? Because if you are, I have a plugin that will fix your issue. I created it because I keep the original names of my downloaded animes. Let me know and I'll send you the DLL.

— Reply to this email directly or view it on GitHub .