Re: [Rhythmbox-devel] Total Tracks?



On Mon, 2003-10-13 at 22:31, nils wrote:
> Thus my suggestions:
> 1: Read the TRACKTOTAL vorbis tag to determine total # of
>   tracks for Ogg Vorbis files.
>   
>   If TRACKTOTAL is not present, then parse
>   TRACKNUMBER to see if it's of the form 04/13;
>   this is for backwards compatibility.
> 
> 2: If track # information is missing, just leave it blank,
>   rather than filling in incorrect or misleading info.
>   Note that the current treatment is inconsistent, as I
>   observed above.
>   In particular:
>   a: If "Track Number" can be determined, but
>     "Total # of Tracks" cannot, then it should leave
>     the total blank, as in:
>     Track number: 04 of: <blank>
>   b: If neither can be determined, then it should leave them
>     both blank, as in:
>     Track number: <blank> of: <blank>
>   c: (and of course if "Track number" can't be, but "Total #"
>      can be, display "<blank> of 13")
> 
> Does this sound good and reasonable?
> Thanks!

Good work!  You've done a very thorough job of this.

Josh



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]