Kodi Community Forum
Display year of duplicate titles? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
+--- Thread: Display year of duplicate titles? (/showthread.php?tid=66828)



Display year of duplicate titles? - DesktopMan - 2010-01-11

Some titles are popular, such as "Dracula".

I'd like XBMC to display the year when there are more than one movie with the same title. If the year was part of the name for those it would also make them sort correctly. E.g.:

Dracula (1931)
Dracula (1958)
Dracula (1979)
Dracula (1992)


- jmarshall - 2010-01-11

This seems like a nice idea. The appending of the year would be tricky to do nicely I think (i.e. without adding specific code), but we could get it sorted by year after sorting by title easy enough.

With most views in the library having year information available somewhere on screen, I suspect that will be enough?


- DesktopMan - 2010-01-11

Most views do have year information but it requires you to select the item. Just scrolling through your library does not give you that information.

No year also makes it harder to see if you have duplicate items or if the stacking hasn't detected a stackable movie correctly.

I haven't looked at the code that creates e.g. the list view, but I'd do something like look at the previous item and if title is the same add year to the display string of both.


- jmarshall - 2010-01-11

It's easy to add the year to all items, harder to add it to just those ones that need it without special-case code, which we prefer not to add where possible.

Cheers,
Jonathan


- DesktopMan - 2010-01-11

An option to add year to all would be perfectly fine by me Smile


- jmarshall - 2010-01-11

You can do that yourself via the skin Smile

Change ListItem.Label to something like ListItem.Title (ListItem.Year).

Problem is it may mean you have to do it only for the movies listing, so you'll need 2 labels with some <visible>Container.Content(Movies)</visible> stuff.

Cheers,
Jonathan


RE: Display year of duplicate titles? - ribtin - 2016-05-22

(2010-01-11, 23:40)jmarshall Wrote: You can do that yourself via the skin Smile

Change ListItem.Label to something like ListItem.Title (ListItem.Year).

Problem is it may mean you have to do it only for the movies listing, so you'll need 2 labels with some <visible>Container.Content(Movies)</visible> stuff.

Cheers,
Jonathan

Can someone please give a more detailed explanation on how to do this, for a dummy like me? =)