Accelerate playlist viewing (2 Viewers)

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    That it takes the same long time to load? I thought the advantage was faster loading time?
    If it only reduce the size of the primarily loaded list, then I think it does not help much :cry:

    1000 songs are loaded quite fast for me. how's your loading time?
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    need to correct myself. it takes actually a while to load the 1000 songs. Interestingly i never noticed that whie runninng in debug from inside Visual Studio.
    So i guess the only way is to decrease the number of songs that should be loaded initially until it is acceptable
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    However i tried with a playlist of 3500 files and it got shuffled.
    in the initial 1000 files loaded i saw music titles, which are above position 3000 in the original playlist
    What are you doing differently than me?
    I proceeded as follows:
    1. Clean current playlist
    2. Right-click file folder, click "Add to playlist"
    3. Wait for playlist with about 24000 songs to be created
    4. Save playlist
    5. Clean current playlist
    6. Load playlist from saved playlists
    7. Wait for playlist to be loaded
    8. Open current playlist
    9. Select "Shuffle playlists"
    Result: The current playlist only contains artist names beginning with A and B which are shuffled. But artist names from C to Z are missing.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    What are you doing differently than me?
    I proceeded as follows:
    1. Clean current playlist
    2. Right-click file folder, click "Add to playlist"
    3. Wait for playlist with about 24000 songs to be created
    4. Save playlist
    5. Clean current playlist
    6. Load playlist from saved playlists
    7. Wait for playlist to be loaded
    8. Open current playlist
    9. Select "Shuffle playlists"
    Result: The current playlist only contains artist names beginning with A and B which are shuffled. But artist names from C to Z are missing.

    The difference is that i used the "Autoshuffle on Load" Config settings.

    If you want to shuffle from the UI, then ofc you can only shuffle what has been loaded so far.
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    The difference is that i used the "Autoshuffle on Load" Config settings.

    If you want to shuffle from the UI, then ofc you can only shuffle what has been loaded so far.
    You're right, with this option the playlist is shuffled. However, then the tracks of an album can't be played in the original sequence.

    OneButtonMusic is something totally different and is not using the same way to create Playlists.
    Loading playlists via OneButtonMusic is very, very much faster than via MP.
    Can you apply the same logic to the MP load playlist function?
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    So what? Either you shuffle or you don't.
    if you want to play an album in sequence, then open the album and play it. :)
    When I add an album to an empty playlist and the "Auto shuffle playlists after loading" option is enabled, the album tracks are shuffled. --> This setting not only applies to saved playlists.
    But you're right, with the Play command the album is not shuffled. (y)
    Music Configuration (team-mediaportal.com)
    OK / Enter / Select Button
    • Play (default) - use the Enter key to play tracks (the same as the play button)\
    • Queue - to add tracks for the selected item (track, artist or album) to the playlist
    • Add all tracks to playlist - Default: on
      If you are browsing a list of tracks (eg. an album) this option determines whether clicking play or Enter / OK will add all tracks to the playlist or only the selected track

    With your recent playlist load optimization, if you scroll to the end of the playlist, the subsequent tracks are not shown. It looks like the end of the playlist has reached although the playlist contains more items.
    Can you load the next 1000 (or as set in config file) tracks when the user has scrolled to the list's end?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,497
    10,377
    Kyiv
    Home Country
    Ukraine Ukraine
    All plugins, not have information about what happened in facade control :)
    Only possible add pagination, but shuffle, work only for visible items...

    -- Tapatalk | WBR, ajs
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    With your recent playlist load optimization, if you scroll to the end of the playlist, the subsequent tracks are not shown. It looks like the end of the playlist has reached although the playlist contains more items.
    Can you load the next 1000 (or as set in config file) tracks when the user has scrolled to the list's end?

    No, that doesn't work.
    MP shows only what is in the facade control, like @ajs mentioned in the previous post.
    I made a quick workaround to assist you in your pain, but cannot and will not change the way how facade view works.
    this would affect the whole system and could break it.

    You wanted to initially load your 24k playlist and start playing it, maybe shuffling it.
    and then listening to it without touching it.

    If you want to search/play individual albums, etc. you should use the Database views.
     

    Users who are viewing this thread

    Top Bottom