My Music - need your thoughts on how to improve and enhance (1 Viewer)

Status
Not open for further replies.

SteveV

Retired Team Member
  • Premium Supporter
  • October 13, 2005
    340
    0
    Boston, Massachusetts USA
    eagle said:
    @SteveV

    hi Steve, did you have a look to the issue of different duration of songs displayed in"now playing" and album view?

    eagle

    :oops: Sorry, completely slipped my mind. I'll have a look at it over the weekend.
     

    SteveV

    Retired Team Member
  • Premium Supporter
  • October 13, 2005
    340
    0
    Boston, Massachusetts USA
    mikael said:
    This is a very minor request, but I would like to see the progressbar in the "now playing screen" to move buoyant instead of moving in hacks. Could this be implented with the existing gfx engine?

    Not possible at the moment. The progress bar values range from 0 - 100 so they aren't fine-grained enough to product smooth movement.

    So if you have a song that's 300 seconds long...
    Code:
    Current                          
    Progress   Duration     %      Progbar Value
     240       300         80.0         80
     241       300         80.3         80
     242       300         80.6         80
     243       300         81.0         81
     

    SteveV

    Retired Team Member
  • Premium Supporter
  • October 13, 2005
    340
    0
    Boston, Massachusetts USA
    EqualRightsForWerewolves said:
    is it possible to change it for album titles as well then? consistency is always a good thing :wink:

    Yup. :) I've got a number of database changes planned. And since the changes usually require everyone to rescan their shares, I'd rather wait and do them all at the same time. I'm currently working on some other stuff but I'll try and get this added as soon as possible.
     

    deebo

    Portal Pro
    April 19, 2006
    233
    3
    As my music is sorted and properly id3 tagged like so:

    %abc/%artist/%album/%track - %name.mp3

    id like to see the possibility to configure a different viewtype for each view like so:

    artist list: list
    arists albums: big icons
    album songs: list
     

    egonspengleruk

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    250
    0
    Its probably been mentioned before (but going through 30 pages of forum posts isnt fun...my bad) but can we add in track duration for each song, both on the playlist and also on the main selection screen. I only ask this as im working on improvements to the MyBurner plugin and am after a way of knowing when the user has selected too many songs....ie. total time is over 70 minutes of music.

    Egon
     

    SteveV

    Retired Team Member
  • Premium Supporter
  • October 13, 2005
    340
    0
    Boston, Massachusetts USA
    egonspengleruk said:
    Its probably been mentioned before (but going through 30 pages of forum posts isnt fun...my bad) but can we add in track duration for each song, both on the playlist and also on the main selection screen. I only ask this as im working on improvements to the MyBurner plugin and am after a way of knowing when the user has selected too many songs....ie. total time is over 70 minutes of music.

    Egon

    Actually, it's already there. Each PlaylistItem in the playlist has a MusicTag member from which you can read the duration Property. Something like this should do the trick:

    Code:
                    PlayList curPlaylist = PlaylistPlayer.GetPlaylist(PlayListType.PLAYLIST_MUSIC);
                    int totalSeconds = 0;
                    int maxSeconds = 60 * 70;
                    PlayList burnPlaylist = new PlayList();
    
                    foreach (PlayListItem pli in curPlaylist)
                    {
                        MusicTag tag = (MusicTag)pli.MusicTag;
    
                        if (totalSeconds + tag.Duration > maxSeconds)
                            break;
    
                        totalSeconds += tag.Duration;
                        burnPlaylist.Add(pli);
                    }

    Steve
     

    egonspengleruk

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    250
    0
    SteveV said:
    egonspengleruk said:
    Its probably been mentioned before (but going through 30 pages of forum posts isnt fun...my bad) but can we add in track duration for each song, both on the playlist and also on the main selection screen. I only ask this as im working on improvements to the MyBurner plugin and am after a way of knowing when the user has selected too many songs....ie. total time is over 70 minutes of music.

    Egon

    Actually, it's already there. Each PlaylistItem in the playlist has a MusicTag member from which you can read the duration Property. Something like this should do the trick:

    Code:
                    PlayList curPlaylist = PlaylistPlayer.GetPlaylist(PlayListType.PLAYLIST_MUSIC);
                    int totalSeconds = 0;
                    int maxSeconds = 60 * 70;
                    PlayList burnPlaylist = new PlayList();
    
                    foreach (PlayListItem pli in curPlaylist)
                    {
                        MusicTag tag = (MusicTag)pli.MusicTag;
    
                        if (totalSeconds + tag.Duration > maxSeconds)
                            break;
    
                        totalSeconds += tag.Duration;
                        burnPlaylist.Add(pli);
                    }

    Steve


    Ah...cheers for that :)

    Egon
     

    egonspengleruk

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    250
    0
    Hi Steve,

    For some reason I cant get at that MusicTag
    In the below (from MyBurner) I can read out the playlistitem.FileName quite happily but MusicTag is always NULL.

    Code:
            PlayList burnlist;
            burnlist = PlayListPlayer.SingletonPlayer.GetPlaylist(PlayListType.PLAYLIST_MUSIC);
            
            Debugger.Launch();
            Debugger.Break();
            
            foreach (PlayListItem playlistitem in burnlist)
            {
              GUIListItem pItem = new GUIListItem();
              pItem.Path = Path.GetDirectoryName(playlistitem.FileName);
              pItem.Label = Path.GetFileName(playlistitem.FileName);
              pItem.MusicTag = playlistitem.MusicTag;
    
              GUIControl.AddListItemControl(GetID, (int)Controls.CONTROL_LIST_FILES_TO_BURN, pItem);
            }

    Any ideas??

    Egon
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom