1. 21 Nov, 2004 2 commits
  2. 17 Nov, 2004 1 commit
    • zorglub's avatar
      * Add return values to all functions · 3bb2997f
      zorglub authored
      * Fix locking issues in services discovery
      * Add playlist_Replace function
      * Beginning of playlist_TreeMove
      * Fix some warnings
      * Doxygen update
      3bb2997f
  3. 13 Nov, 2004 1 commit
  4. 08 Nov, 2004 2 commits
  5. 07 Nov, 2004 1 commit
    • zorglub's avatar
      * Fixed autodelete · 211bbb87
      zorglub authored
      * Autodelete items played by the SDP demuxer
      * Added playlist_CopyParents facility, for modules that use ItemToNode
      211bbb87
  6. 06 Nov, 2004 1 commit
  7. 16 Jul, 2004 1 commit
  8. 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
  9. 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
  10. 25 Jan, 2004 1 commit
  11. 23 Jan, 2004 1 commit
  12. 11 Jan, 2004 1 commit
    • zorglub's avatar
      * configure.ac : Added new folders · 5dc722b5
      zorglub authored
      * New playlist import/export system:
         -export plugin in misc/playlist (contains one module for each file type)
         -open plugin = special demuxer2, that can be opened from the command
          line or the graphical interface.
        NB: the demuxer "playlist" is forced to earn speed, but this does not
        work yet, as we have a demux2
      
      * modules/gui/wxwindows: use the new import/export.
      
      * src/playlist/group.c : fixed boundary check
      
      * src/playlist/item-ext.c: correctly reset stuff when clearing the playlist
      5dc722b5
  13. 10 Jan, 2004 2 commits
  14. 06 Jan, 2004 2 commits
  15. 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
  16. 03 Dec, 2003 1 commit
    • sigmunau's avatar
      all: · ddc23167
      sigmunau authored
       * in vlc, times are stored in microseconds. playlist_item_t::i_duration
         shouldn't be an exception
      modules/gui/wxwindows/playlist.cpp:
       * fixed indentation
      ddc23167
  17. 26 Nov, 2003 1 commit
  18. 12 Nov, 2003 1 commit
  19. 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
  20. 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
  21. 08 Sep, 2003 1 commit
    • zorglub's avatar
      * src/playlist/playlist.c · 8f02c035
      zorglub authored
             include/playlist.h: playlist sorting
       		(function playlist_Sort( playlist_t * , int type)
      
      * modules/gui/wxwindows/playlist.cpp
        modules/gui/wxwindows/wxwindows.h :
      	* Implement playlist sorting & reverse sorting
      	* Playlist search
      8f02c035
  22. 14 Aug, 2003 1 commit
    • sigmunau's avatar
      vlc_playlist.h: · 92c1ab4e
      sigmunau authored
         * added a duration field to the playlist item struct
      vlc_playlist.h, playlist.c:
         * turned playlist_AddName into playlist_AddExt and made it take an extra
         argument( the duration )
         * doxygenize comments
      modules/demux/m3u.c, modules/gui/macosx/playlist.m:
         * use playlist_AddExt
      92c1ab4e
  23. 23 Jul, 2003 1 commit
    • gbazin's avatar
      · eb505a2f
      gbazin authored
      * ALL: changes to the playlist_Add() and VLC_AddTarget() proto to include a list of options associated with the input.
      * src/input/input.c: parses the input options list before spawning the input and create object variables for these options. Options are of the form "[no[-]]foo[=bar]" where foo is the option name and bar is its value.
      * src/input/input.c, src/input/input_dec.c: use the object var api to get the value of the "sout", "sout-video" and "sout-audio" options.
      * src/libvlc.c: extended the command line parser to parse input options. Input options must always follow the input they apply to and begin with a ':'.
      
      All these changes allow you to specify input specific options.
      eg: ./vlc --no-sout-audio yourvideo.mpeg :sout=udp/http::8080 :sout-audio yourvideo2.mpeg
      Here the ":sout" option will only apply to yourvideo.mpeg.
      "--no-sout-audio" will be a global option so will apply to yourvideo2.mpeg but the global behaviour is overriden by ":sout-audio" for yourvideo.mpeg.
      
      TODO: - the interfaces need to be modified to benefit from the new playlist_Add() api.
            - only "sout", "sout-video", "sout-audio" implemented for now. To make it work with other options, we need to get rid of all the config_GetFoo() and replace them with var_Create()/var_Change()/var_Get().
      eb505a2f
  24. 27 Jun, 2003 1 commit
    • zorglub's avatar
      · 8f9ee6fd
      zorglub authored
      * modules/demux/m3u.c :
          Added name support. Only implemented for M3U and B4S playlists at the moment
      
      * src/playlist/playlist.c
        include/vlc_playlist.h   : Added the playlist_AddName function to add an item with its name without filling an item structure.
      8f9ee6fd
  25. 17 Mar, 2003 1 commit
    • hartman's avatar
      * src/playlist/playlist.c: · 7314de69
      hartman authored
        - added playlist_Move to move an item in our playlist before the position
          of a previous item (or end) of our playlist. Keeps index at it's current
          item.
      * modules/gui/macosx/playlist.?:
        - Now a reorderable playlist. Thanks to Andrew Stone for example code.
          This fixes #349 (Finally ;)
        - True alternating colors in the playlistview. Thanks to Apple Computer
          for the example code.
      7314de69
  26. 29 Jan, 2003 1 commit
  27. 13 Dec, 2002 1 commit
    • Boris Dorès's avatar
      - vlc_playlist.h, playlist.c: added the ability to save a playlist to · 4552cb1e
      Boris Dorès authored
        and restore it from a file chosen by the user.
      
      - win32/*:
      
        - implementation of the previous feature in the win32 interface
      >   -> what the other interfaces need to do to support it is simply to
      >      call the two following functions:
      >       int playlist_LoadFile(playlist_t *p_playlist,const char *psz_filename);
      >       int playlist_SaveFile(playlist_t *p_playlist,const char *psz_filename);
      >      where psz_filename is the name of the destination/source file.
      
        - ability to open several files at a time
      4552cb1e
  28. 03 Dec, 2002 1 commit
    • Arnaud Schauly's avatar
      * src/playlist/playlist.c : Added playlist_AddItem (enqueues · 923da588
      Arnaud Schauly authored
      playlist_item_t instead of psz_target ). Now playlist_Add uses
      playlist_AddItem to enqueue.
      * include/vlc_playlist.h : Added a psz_uri field in the playlist_item_t
      structure.
      * src/input/input.c : takes item->psz_uri  argument to start playing an
      item.
      923da588
  29. 12 Nov, 2002 1 commit
    • gbazin's avatar
      · 35b69681
      gbazin authored
      * include/vlc_playlist.h, src/playlist/playlist.c: added a b_autodeletion
         flag to the playlist item structure. If this flag is set then the playlist
         item will be deleted automatically after it has been played.
      35b69681
  30. 31 Jul, 2002 1 commit
  31. 20 Jul, 2002 1 commit
  32. 03 Jul, 2002 1 commit
  33. 07 Jun, 2002 3 commits
  34. 04 Jun, 2002 1 commit
    • Sam Hocevar's avatar
      (new in MAIN) · 7291e0a7
      Sam Hocevar authored
        * ./src/interface/interface.c: interfaces are no longer attached only to
          p_vlc.
        * ./src/libvlc.c, ./src/misc/modules.c, ./src/playlist/playlist.c,
          ./src/input/input.c: improvements in the playlist handling (not quite that
          yet though).
      (ported from v0_4_1_branch)
        * ./configure.in, ./plugins/mpeg_system/mpeg_ts.c: fixed libdvbpsi handling.
        * ./src/misc/configuration.c: fixed the --nofoo option handling.
        * ./src/interface/main.c: fixed two compilation warnings under Solaris.
      7291e0a7