Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users
any way to sort videos by alternate value
 

Index | Next | Previous | View Flat


ron at ronfrazier

May 6, 2012, 6:44 AM


Views: 375
Permalink
any way to sort videos by alternate value

I was wondering if there was any way to sort videos by some value
other than the title. I was thinking this would be useful for a few
circumstances. Normally, when movies are titled with numbers (1, 2, 3,
or part 1, part 2, part 3) they will sort just fine. However, once you
get to 10 parts, they will start sorting wrong (1, 10, 2, 3). You can
hack around this by using 2 digit numbers (01, 02 ... 10) but that's
ugly IMHO. Furthermore, if the movie uses names instead of numbers
(such as Lord of the Rings), the parts don't sort into the proper
order at all.

So is there any way to deal with this currently in myth? I don't see
one. I've done that sort of thing in other apps I've written, and I
handled it by adding another value for "sort_title". So while the
movie is named "Lord of the Rings - The Return of the King", the sort
title would be "Lord of the Rings 3".

Is anyone else interested in this (or is anyone already working on
such a feature)? I could take a shot at implementing it sometime. Does
the above method sound like a good way, or does someone else have a
better suggestion?

--
Ron Frazier
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

Subject User Time
any way to sort videos by alternate value ron at ronfrazier May 6, 2012, 6:44 AM
    Re: any way to sort videos by alternate value jeremy.dwain.jones at gmail May 6, 2012, 10:08 AM
    Re: any way to sort videos by alternate value raymond at wagnerrp May 6, 2012, 10:18 AM
        Re: any way to sort videos by alternate value ron at ronfrazier May 6, 2012, 12:23 PM
    Re: any way to sort videos by alternate value ron at ronfrazier May 6, 2012, 11:50 AM
    Re: any way to sort videos by alternate value jeremy.dwain.jones at gmail May 6, 2012, 12:33 PM
    Re: any way to sort videos by alternate value gary.buhrmaster at gmail May 6, 2012, 2:01 PM
    Re: any way to sort videos by alternate value ron at ronfrazier May 6, 2012, 3:36 PM
    Re: any way to sort videos by alternate value jedi at mishnet May 7, 2012, 7:09 AM
        Re: any way to sort videos by alternate value raymond at wagnerrp May 7, 2012, 8:49 AM
    Re: any way to sort videos by alternate value jedi at mishnet May 7, 2012, 7:13 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.