Opened 5 years ago

Last modified 4 years ago

#12344 new Bug Report - General

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@… 5 years ago.
Sorts "Browse by TV/Movie" according to contenttype

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by bertaboy@…

Attachment: videolist.patch added

Sorts "Browse by TV/Movie" according to contenttype

comment:1 Changed 4 years ago by Karl Egly

Milestone: unknown
Note: See TracTickets for help on using tickets.