1. 27 May, 2004 1 commit
    • hartman's avatar
      * src/libvlc.h · 9a426b4b
      hartman authored
         src/playlist/playlist.c: added a "--play-and-stop" feature.
         This stops the playlist after each played item. It does however increase
         the index. (also very useful for sap playlist when a lot of channels fail to open).
      9a426b4b
  2. 30 Apr, 2004 1 commit
  3. 29 Apr, 2004 1 commit
  4. 15 Apr, 2004 1 commit
  5. 03 Apr, 2004 1 commit
  6. 31 Mar, 2004 1 commit
    • gbazin's avatar
      * src/input/control.c: added INPUT_ADD_INFO/INPUT_SET_NAME to input_Control(). · 562ab59b
      gbazin authored
      * src/input/input.c:
         + introduced input_item_t that is shared between the playlist/vlm and the input thread (contains input name, options, infos, etc...).
         + changed prototype of input_CreateThread() to input_thread_t *input_CreateThread( vlc_object_t *, input_item_t * ).
      * ALL: use input_item_t and INPUT_ADD_INFO when necessary.
      562ab59b
  7. 14 Mar, 2004 1 commit
  8. 13 Mar, 2004 1 commit
  9. 23 Feb, 2004 3 commits
  10. 29 Jan, 2004 1 commit
    • zorglub's avatar
      Options as infos were bad in several ways: it broke PLAYLIST_GO, used · 499a3845
      zorglub authored
      much memory, and was inconsistent, especially with input_CreateThread
      taking an array of options
      
      * Revert to using array of options
      
      * To add an item with options:
          - either use playlist_ItemNew, ItemAddOption, and then AddItem
            (useful if you don't have all your options in an array)
          - either use playlist_AddExt (use this if all your options are
            already in an array)
      
      * To add an item without options: use playlist_Add
      
      You can still add options after an item has been added by using either
      playlist_AddOption or playlist_ItemAddOption
      
      * Attempt to improve API and solve thread safety issues.
        - playlist_Item* functions allow to touch items only.
          p_item->lock must be used when needed
          (playlist_ItemNew, playlist_ItemDelete, playlist_Item*Info,
           playlist_ItemSet* )
      
        - playlist_ItemGetById and ItemGetByPos give you playlist_items
          for GetByPos, you should have the playlist lock
      
      At the moment, the playlist_Set* and playlist_*Info functions are kept (they work with position) but should be avoided.
      499a3845
  11. 26 Jan, 2004 2 commits
  12. 25 Jan, 2004 1 commit
  13. 23 Jan, 2004 1 commit
  14. 11 Jan, 2004 1 commit
  15. 10 Jan, 2004 1 commit
  16. 06 Jan, 2004 1 commit
    • zorglub's avatar
      - src/misc/win32_specific: compilation fix for win32 (can someone please · 982c016f
      zorglub authored
      check that command line parsing still works for items and options? )
      
      - src/libvlc.c
        include/vlc/vlc.h : New libvlc functions to get playlist status and
                            clear the playlist
           Patch by Tong Ka Man
      
      - src/playlist/* : Update copyrights
      
      - src/playlist/playlist.c:
        -When a user explicitely asks for an item, do play it, even if random mode
        -Do not stop playlist upon deletion of an autodelete item
        -playlist_Clear (Patch by Tong Ka Man)
      982c016f
  17. 05 Jan, 2004 1 commit
    • zorglub's avatar
      * Makefile.am : Added src/playlist/item-ext.c and src/playlist/info.c · 17557ea6
      zorglub authored
      * src/playlist/item.c
        src/playlist/info.c
        src/playlist/item-ext.c
        src/playlist/group.c
        src/playlist/sort.c
        src/playlist/loadsave.c
        include/vlc_playlist.h
            - New playlist_info structures and accessors
              It works pretty like the old input_info (with categories)
              It provides modularity to the playlist
            - Removed ppsz_options and i_options from playlist_item
              (we use the special category Options)
            - Added a unique id to each playlist_item to be able to track the
              items accross playlist reorders
            - Simplified adding of items.
                 - playlist_AddExt is removed
                 - playlist_AddItem is still here and exported but should not be used
                 - use playlist_Add( p_playlist, uri, name, duration, mode, pos )
                   and use the accessors for all other things
            - Added setters for fields of the playlist_item structure
            - Introduced "item-change" and "playlist-current" playlist variables
              to give more flexibility than only intf-change
      
            At the moment, duration is still in the structure (easier to use, IMHO)
      
      * src/input/input.c
        src/libvlc.c :
              playlist item options parsing changed
      
      * include/vlc_common.h : added playlist_info structures
      17557ea6
  18. 13 Dec, 2003 1 commit
    • gbazin's avatar
      · d3de6466
      gbazin authored
      * src/playlist/*: when deleting the currently playing item, skip it instead of stopping the playlist.
      * include/modules_inner.h, include/configuration.h: don't use a static array anymore during the initialization of the plugins, malloc it instead. This fixes regular overflow problems we have when we increase the number of options in the main module.
      d3de6466
  19. 07 Dec, 2003 1 commit
  20. 04 Dec, 2003 1 commit
  21. 02 Dec, 2003 1 commit
  22. 29 Nov, 2003 1 commit
    • Laurent Aimar's avatar
      * all: better handling of multiple (video) tracks. · 27c49515
      Laurent Aimar authored
          - now vout are checked for release every 300ms
          - when *-es are triggered, all same es are unselect not only the
          last selected. (more intuitive) The only problems are that it's not
          possible to select again all ES, and the checkbox can show only one
          selected ES.
      27c49515
  23. 25 Nov, 2003 1 commit
  24. 14 Nov, 2003 1 commit
  25. 02 Nov, 2003 1 commit
  26. 29 Oct, 2003 1 commit
    • zorglub's avatar
      * src/playlist/* && Makefile.am · 84b846bf
      zorglub authored
         - splitted the enormous playlist.c file
         - implemented a better item group system: groups have a name
           and must be created before use by
            playlist_CreateGroup( p_playlist, "newgroupname")
      
      * modules/misc/sap.c
         - Create our own playlist group ("SAP") and use it
      
      * modules/access/slp.c
         - Create our own playlist group ("SLP") and use it
      
      * modules/demux/util/id3tag.c
         - Trigger playlist update when we have parsed our tag
      
      * modules/gui/wxwindows/interface.cpp
         - Fixed the about box by using vlc_wraptext
         - Added the simple open and the streaming wizard icons
                 *** Icons need to be changed ! ***
         - Added the visualization to the extended gui
      
      * modules/gui/wxwindows/preferences.cpp && include/vlc_help.h
         - Enlarged the window to fit the wrapped text
         - Added help for audio encoders
      
      * modules/gui/wxwindows/stream.cpp  & open.cpp & include/vlc_interface.h
         - Created a "streaming wizard" window (3-step streaming)
      
      * modules/gui/wxwindows/iteminfo.cpp:
         - Group change is now based on the name
      
      * modules/gui/wxwindows/playlist.cpp
         - Added author and group columns to the listview
         - Redesigned the window
         - Added the Sort menu with several criteria (title, author, group)
         - Added up/down buttons to move an item in the playlist
         - Added the group menu to enable/disable a group in an understandable way
      
      
      TODO:
      -----
      
      * playlist core :
         - Implement advanced sort capabilities  (multi-criteria)
         - File format to save the new features
         - export playlist (to M3U, eg)
         - more robust group creation (duplicates check, ...)
      
      * wxWindows playlist:
         The idea of a treeview seems impossible, because of wxWindow's treeview,
         that don't allow multi-selection, and, as far as I know, multi-columns.
         - Provide a frontend to advanced sort (when it's done :-) )
         - Allow moving items by drag & drop (well, if possible, haven't checked yet)
         - Allow moving several items at once
         - Customizable listview (ability to remove/move columns)
         - Find a solution to the focus problem
           (when you change track, the selected one scrolls at the
            bottom of the visible screen)
      
      * wxWindows interface:
         - New icons, our icons begin to get old and not so pretty
         - Find a solution for the volume bar (nobody understands what it is)
      84b846bf
  27. 20 Oct, 2003 2 commits
  28. 19 Oct, 2003 1 commit
    • gbazin's avatar
      · ae9e72a7
      gbazin authored
      * src/playlist/playlist.c: fixed locking problem.
      * modules/gui/skins/src/skin_main.cpp: fixed division by 0.
      ae9e72a7
  29. 09 Oct, 2003 1 commit
  30. 06 Oct, 2003 1 commit
    • zorglub's avatar
      * include/vlc_playlist.h · 12cbd4c8
      zorglub authored
        src/playlist/playlist.c:
           * Implemented a boolean b_enabled to disable a playlist item
           * Implemented the idea of group (p_item->i_group), that allows
             to enable/disable and to sort some series of items
           * Implemented an unused (at the moment), psz_author field
           * Started to implement a new playlist format to store all of these
      
      * modules/gui/wxwindows/interface.cpp:
           Added a hiddeable panel to put some important options.
           (Menu Preferences->Extra GUI)
           At the moment, we put the adjust filter and aspect ratio, and must
           decide what options we want here
      
      * modules/gui/wxwindows/playlist.cpp
        modules/gui/wxwindows/iteminfo.cpp:
           Added "Enable/disable group button", options to enable/disable selection
           Added an item info dialog box
      
      * modules/misc/sap.c :
           Added a sap-group-id option: the SAP playlist items are in a separate group
           (defaults to 42)
      
      * modules/visualization/visual/effects.c:
           Minor coding style fixes
      
      Todo:
      -----
      
      * Advanced sort (alphabetical and/or by group)
      * Ability to load 0_6 playlists
      * Really use the libid3tag
      12cbd4c8
  31. 24 Sep, 2003 1 commit
  32. 22 Sep, 2003 1 commit
    • zorglub's avatar
      * modules/gui/wxwindows/preferences.cpp: · a8855655
      zorglub authored
      	- Created the "General Settings" section
      	- Added help strings in the two main sections,
      		in the libvlc categories,
      		and in the module capabilities
      
      * modules/gui/wxwindows/playlist.cpp & wxwindows.h
      	-Implemented random, loop and repeat using variables
      	-The eye candy of the dialog box is not very good
      	 but I have no idea how to improve it.
      	-Focus on the currently playing item
      
      * src/libvlc.h:
      	- Added help strings for the libvlc categories
      	- Changed a few "advanced" flag
      
      * include/vlc_help.h:
      	- Help strings for the two main sections
      	- Help string for the module capabilities (both by Anil)
      
      * po/*: updated potfiles with the new strings
      a8855655
  33. 20 Sep, 2003 1 commit
    • hartman's avatar
      * include/vlc/vlc.h: · 2b78a774
      hartman authored
        - removed the defines for i_mode concerning random and loop. We use config
          variables for all of these.
      * src/libvlc.h:
        - removed the enqueue playlist config option. It's no longer used.
        - added a repeat option. vlc will keep playing the same playlist_item,
          until the option is unset.
      * src/playlist/playlist.c:
        - added a repeat, random and loop variable.
        - wxwindows should use these as well I think.
      * modules/gui/macosx:
        - added the INTF_ABOUT_MSG to the about dialog.
        - implemented the about and repeat items.
      2b78a774
  34. 19 Sep, 2003 1 commit
  35. 15 Sep, 2003 1 commit
  36. 13 Sep, 2003 1 commit
    • Laurent Aimar's avatar
      * src/video_output/video_output.c : do not use FIND_ANYWHERE to catch · 0925ed0b
      Laurent Aimar authored
       the playlist.  but use FIND_PARENT. vlc_object_find  with FIND_ANYWHERE
       use p_obj->p_vlc as a starting point  and that doesn't work as playlist
       is  detach from  vlc before  vout is  destroyed by  the decoders  (when
       shutting down)  Perhaps vlc_object_find  should be  fixing to  find the
       root object, but I'm not sure.
      
       * src/input/*  : move  subtitle handling  from avi  to input.  Now subs
       should works with all file types _BUT_ won't be in synch if the demuxer
       doesn't implement a _precise_ DEMUX_GET_TIME.  So only .avi, .mp4 will
       be ok. Others could works if perfectly cbr.
        Now  Subtitle  track is  only  selected  when specified  by  sub-file
       option.(auto-dectected file is always added but not selected by default)
        Btw, the code could support multiple  subs files, but I don't know how
       to pass multiple filenames, any ideas ?
      
      
       * demux/mpeg/mpga.c : play with es_out_t. I'm investigating for now so
       don't use that elsewhere.
      0925ed0b