Opened 9 years ago

Closed 4 years ago

#12344 closed Bug Report - General (Unverified)

Browse by TV/Movie to filter based on videometadata.contenttype

Reported by: bertaboy@… Owned by: JYA
Priority: minor Milestone: unknown
Component: MythTV - Video Library Version: 0.27.4
Severity: low Keywords:
Cc: Ticket locked: no

Description

mythtv/programs/mythfrontend/videolist.cpp currenty filters TV/Movies along the lines of

if (((*p)->GetSeason?() > 0)
((*p)->GetEpisode?() > 0))

then TV

else Movie

This results in all other videos getting lumped into the 'Movie' node, regardless of its videometadata.contenttype value (i.e. MOVIE, TELEVISION, ADULT, MUSICVIDEO, HOMEVIDEO)

Changing the IF/ELSE clauses to filter by videometadata.contenttype would fix/prevent the non-movie videos from appearing in the Movies node. This also helps prepare the Movies node for grouping movie collections in a similar fashion to tmdb (e.g. https://www.themoviedb.org/collection/645-james-bond-collection )

Attachments (1)

videolist.patch (2.6 KB) - added by bertaboy@… 9 years ago.
Sorts "Browse by TV/Movie" according to contenttype

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by bertaboy@…

Attachment: videolist.patch added

Sorts "Browse by TV/Movie" according to contenttype

comment:1 Changed 9 years ago by Karl Egly

Milestone: unknown

comment:2 Changed 4 years ago by Stuart Auchterlonie

Resolution: Unverified
Status: newclosed

Closing all old tickets in trac.

If your issue still persists, please open an issue in Github https://github.com/MythTV/mythtv/issues

and reference the existing trac ticket.

Note: See TracTickets for help on using tickets.