Jump to content

Way of Auto Ignoring A/The for Sort Order?


Recommended Posts

moviefan
Posted

I know that I can go through my entire collection and edit each title to remove an A/An/The words from the sorting title section if I dont want MBS to use these for the sort order.  As I started doing this extremely long and monotonous task I began to wonder if there was any other way to setup MBS so it just automatically ignores these words in sort order like I can currently do in MCM.

 

Even after going through my whole collection, I will still need to remember to do this for every future title which isn't ideal. 

Posted

well the question is how did they get there in the first place, because we don't save that.

trusselo
Posted (edited)

set MCM to name your movies like in the "TV" naming example below. notice the difference adding the " , " (comma).

then save your settings, then go to "Tools" menu, and select "Auto-rename files and folders for all titles" and let it do its thing. F*** i love MCM

 

now MB will not see 'The' first.  not sure about "A"/"An". but if MCMs main list does, i would think he would have this follow same convention. if not put in a request to "add "A"/"An" to the title tokens of naming convention option" at his site.

 

52cc99c782785_movienaming.png

 

while i do use MCMs fetching, I dont use MCM because of the fetching, its all the other features like this case.  File management.

 

Or like i have it, auto download TV shows, stop and clear seeding torrents, auto process all tv/movie torrents from a standard torrent folder, recognize the media, rename, (fetch), delete all the crap files, and move to the appropriate TV season or Movie folder. zero interaction, unless it doesnt recognize something you chose to download, and the torrent uploader named it like crap.

Edited by trusselo
moviefan
Posted

Okay so I think the issue is that even though I have the option checked within MCM to Remove A/An/The article stop words in the media list this has no effect on the metadata and it still adds a sort title with those article words to every movie that it generates metadata for.  Since I use MCM to rename the folders and generate initial metadata before moving to MBS managed folders

 

I don't see any way of altering this behavior in the MCM configuration options.

 

Will go to MCM board and ask there.

Posted

Yea, do that, because the whole point of having a SortTitle value in xml is so that you can define the sort title you want and the server will not do anything to alter it. if you leave it blank the you'll get the behavior you're asking for because the server will handle it.

Posted

Settings > Movies > Sort by original folder title instead of by media titles

trusselo
Posted (edited)

Okay so I think the issue is that even though I have the option checked within MCM to Remove A/An/The article stop words in the media list this has no effect on the metadata and it still adds a sort title with those article words to every movie that it generates metadata for. Since I use MCM to rename the folders and generate initial metadata before moving to MBS managed folders

 

I don't see any way of altering this behavior in the MCM configuration options.

 

Will go to MCM board and ask there.

see my post a few up with the image, it shows you exactly how to achieve what you want. But you need to rename all of your files. The option that you checked in MCM is only for its list view, nothing to do with Media Browser or the file names or the titles.

 

Or as in my other post and what Luke was talking about change sort order name, through Media Browser server web interface. See ebrs post http://mediabrowser.tv/community/index.php?/topic/3199-How-do-I-change-the-sort-order-of-my-collections?

 

- Sent from my Galaxy S IV

MediaBrowser - Take your media to the next level.

XDA developers - Your home for mobile device development.

Edited by trusselo
moviefan
Posted

@@trusselo - I am already doing folder renaming.  But MB doesnt care about the folder names when there is a value in the sort title field and there is when using MCM in all cases it seems.

 

I went through my entire collection painfully yesterday and fixed sort titles everywhere so they show up how I want now.

 

However, going forward, if I still want MCM to rename my files and folders it seems I am going to have to clean up after it for MB to sort new titles properly.

 

Without any changes to how MCM works, I have two options that I can see:

1) Run the program a first time on my titles to rename the folders properly.  Then clear out metadata, and run the program again with the option checked that glyph pointed out which just makes the sort title equivalent to the folder name, which has already been renamed to my liking in the first run.

2) After MCM has renamed and grabbed metadata, I then move those titles to my MB collection and start managing them there.  In the cases of Titles using A/An/The or being part of a collection, I have to manually edit sort titles afterwards.

 

Both of these are okay options, but less automated than my process in the past which just had MCM doing everything to the titles that needed to happen before handing them off to MB.

 

A better option for handling this on the MCM side would be to either not add a sort title unless there are specific settings for how to create it differently than the movie title; or to allow for customization of how the sort titles are generated.

 

On the MB side we could have an option that ignores these articles at the beginning of sort titles maybe?  But this seems kind of messy and should be better handled on the MCM side IMO.  I like the sorting values and the flexibility that it provides.

Posted

On the MB side we could have an option that ignores these articles at the beginning of sort titles maybe?  But this seems kind of messy and should be better handled on the MCM side IMO.  I like the sorting values and the flexibility that it provides.

 

Exactly.  IMO MCM is misusing the SortTitle field.  It makes absolutely no sense to fill this field in with the exact title of the item - including these non-sort articles.  It might make sense for it to populate that field with something like "Amazing Spider-man, The" but not the way it appears to be doing it now.

 

That field only really needs to be filled in though if you want special sorting applied that can't be determined by an algorithm.  Something like wanting "The Dark Knight" to sort as "Batman 2".

Posted

Is there a way to have MCM and MB live together then and not have this issue or wil we have to go to the (messy) MCM forums to find a fix?

Koleckai Silvestri
Posted

There is a suggestion on the MCM forums to change how Sort Order is handled. I added the suggestion of just keeping the field blank with an option. We may see some change. Currently, I am just not using Media Center Master and relying on MediaBrowser to get the information for me. Means, I have to be more diligent in naming files though.

  • Like 1
Posted

This would mean going into every xml of every film and editing it? That's a lot of editing!

Is that right?

 

Sent from my Nexus 5 using Tapatalk

 

 

Posted

IMO this is a bug in MCM.  I don't think we should change our behavior to work around it.

 

You can use our editing interface or you could just allow us to re-create all the xml.

Posted

I totally agree but if I disabled mcm, until it's fixed, is there a bulk way of getting MB3 to recreate the xmls?

 

Sent from my Nexus 5 using Tapatalk

 

 

Koleckai Silvestri
Posted

This would mean going into every xml of every film and editing it? That's a lot of editing! Is that right? Sent from my Nexus 5 using Tapatalk

 

When I had this problem, I just edited the movies that were not in the proper sort order. Was about 75 movies in total. Edited them through the MediaBrowser Webclient. Took about 45 minutes.

 

However I am not including time to sort collections like Harry Potter, Dark Knight, Aliens, etc... Those do require custom sort orders. 

Koleckai Silvestri
Posted

Update should be out for Media Center Master.

 

 

 

New update (1014.1066) adds backup/restore for settings and program data, fixes subscene.com subtitles (source change), deletes files to Windows recycle bin during download parsing, corrects a performance issue with the media list since the 2.10 release, stops setting the SortTitle XML tag to the LocalTitle value (leaves it blank by default), and adds a new media list view option to disable the display of movie original titles.

https://code.google.com/p/mediacentermaster/issues/list?can=1&q=2.10.1014.1066

Posted

We don't have bulk edit yet sorry. On the road map

Posted

Yes my post over there worked it seems!   :o

  • Like 2
Posted

That was quick! Great!

Now how to get mcm to return the sorttitle to blank?

 

Sent from my Nexus 5 using Tapatalk

 

 

Posted (edited)

That was quick! Great! Now how to get mcm to return the sorttitle to blank? Sent from my Nexus 5 using Tapatalk

 

Don't know any way to do that... but it's easy to fix the records that were affected! Just look in the A's and the T's (within MB3 metadata editor)... fix the few that shouldn't be there. You're done. It's really not that big a deal. :D

Edited by pagali
Koleckai Silvestri
Posted (edited)

You can tell Media Center Master to refetch all Metadata. Probably overkill though.

Edited by Wayne Luke
Posted

Yeah I ended up going through all the effected movies in mcm and blanking the sorttitle field.

Bit time consuming but did the trick.

 

Sent from my Nexus 5 using Tapatalk

 

 

SikSlayer
Posted (edited)

Good to hear Pete fixed the bug in MCM. Like I had said in an earlier question about this same issue, it wasn't like this, then suddenly, one day, it was.

 

Too bad the way to fix things on my end is to go through all the xml files and hand edit them. But at least it won't cause any new titles to have this issue.

Edited by SikSlayer

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