1. 04 Sep, 2019 1 commit
  2. 26 Aug, 2019 1 commit
    • Thomas Guillem's avatar
      prepaser: change options handling · b063dca4
      Thomas Guillem authored
      Reminder of the current behavior: the meta fetcher is either always triggered
      after the preparser is finished or manually.
      
      This commit aims to give more controls so that the meta fetcher is not
      necessarily triggered after a preparsng.
      
      The current behavior of macOS/playlist/mediatree is unchanged (the components
      touching the preparser).
      
      Here are the API changes for
      
      libvlc_MetadataRequest():
      
       - Can't be called without a valid META_REQUEST_OPTION_SCOPE_* flag
      
       - The flag META_REQUEST_OPTION_SCOPE_* is not fetching meta anymore. Use
         (META_REQUEST_OPTION_SCOPE_*|META_REQUEST_OPTION_FETCH_*) to fetch meta when
         the preparsing ends.
      
      libvlc_ArtRequest():
      
       - Can't be called without a valid META_REQUEST_OPTION_FETCH_* flag.
      
       - The META_REQUEST_OPTION_FETCH_NETWORK flag will now only fetch meta via
         network.
      
      libvlc_media_parse_with_options():
      
       - The flag libvlc_media_parse_* is not fetching meta anymore. Use
         libvlc_media_fetch_* to fetch meta when the preparsing ends.
       - The libvlc_media_fetch_network flag will now only fetch meta via network.
      b063dca4
  3. 13 Aug, 2019 2 commits
  4. 16 Jul, 2019 1 commit
  5. 05 Jul, 2019 1 commit
  6. 22 May, 2019 9 commits
  7. 10 Apr, 2019 6 commits
  8. 08 Apr, 2019 1 commit
  9. 22 Jan, 2019 1 commit
  10. 08 Jan, 2019 4 commits
    • Romain Vimont's avatar
      playlist: remove incorrect comment · 57805af4
      Romain Vimont authored
      The player behavior has changed since this comment was written, now the
      on_current_media_changed callback is called even on SetCurrentItem().
      Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
      57805af4
    • Romain Vimont's avatar
      core: playlist: keep current item on expand · 2285143e
      Romain Vimont authored
      When an item is expanded (e.g. due to preparsing), it is replaced by its
      (flatten) subitems.
      
      The previous implementation first removed the item, then inserted its
      subitems. As a consequence of the removal, the current index was reset
      and the player was stopped.
      
      Since we don't want to stop the player on item expansion, instead,
      replace the item by its first subitem (if any), then insert the
      remaining subitems.
      Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
      2285143e
    • Romain Vimont's avatar
      core: playlist: refactor current media update · 798fac44
      Romain Vimont authored
      The actions to execute after a content change were factorized in
      separate functions (vlc_playlist_ItemsInserted(), etc.).
      
      These functions also updated the current media on the player. Instead,
      update it separately, so that we can make several changes while
      updating/invalidating the current media only once.
      
      This paves the way to improve the implementation of
      vlc_playlist_Expand().
      Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
      798fac44
    • Romain Vimont's avatar
      core: playlist: move Expand() to content.c · 23ed2a71
      Romain Vimont authored
      Expanding an item (replacing it by its subitems) was implemented in
      preparse.c, essentially because it's only used for preparsing.
      
      For consistency, implement all functions changing the content of the
      playlist in content.c. This avoids to expose internal functions
      like vlc_playlist_ItemsInserted().
      Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
      23ed2a71
  11. 27 Nov, 2018 1 commit
    • Victorien Le Couviour--Tuffet's avatar
      playlist: fix crash on clear · eda5eeb3
      Victorien Le Couviour--Tuffet authored
      The playlist registers the on_media_changed callback on the player,
      which accesses the items vector if the current index is not -1, since
      this vector is cleared just before, it crashes. Moving the call to
      ClearItems after setting the current media, and so after the callback,
      fixes that.
      Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
      eda5eeb3
  12. 20 Nov, 2018 2 commits
  13. 15 Nov, 2018 9 commits
  14. 21 Oct, 2018 1 commit