1. 26 Jan, 2004 2 commits
  2. 25 Jan, 2004 1 commit
  3. 23 Jan, 2004 1 commit
  4. 11 Jan, 2004 1 commit
  5. 10 Jan, 2004 1 commit
  6. 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
  7. 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
  8. 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
  9. 07 Dec, 2003 1 commit
  10. 04 Dec, 2003 1 commit
  11. 02 Dec, 2003 1 commit
  12. 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
  13. 25 Nov, 2003 1 commit
  14. 14 Nov, 2003 1 commit
  15. 02 Nov, 2003 1 commit
  16. 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
  17. 20 Oct, 2003 2 commits
  18. 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
  19. 09 Oct, 2003 1 commit
  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. 24 Sep, 2003 1 commit
  22. 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
  23. 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
  24. 19 Sep, 2003 1 commit
  25. 15 Sep, 2003 1 commit
  26. 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
  27. 10 Sep, 2003 1 commit
  28. 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
  29. 07 Sep, 2003 1 commit
    • Laurent Aimar's avatar
      * libvlc: removed some unused options. · 4b7cff4d
      Laurent Aimar authored
                 added sout-keep option to keep sout instance across playlist
                 items (usefull with 'gather' stream_out)
       * stream_output : implement the sout-keep mode.
       * playlist, video_output, stream_output: vout and sout are now reattached
       to playlist instead of being destroyed. There are automatically destroy
       if unused byt the new input (200 ms after access and demuxer have finished
       their inittialisation step.)
      4b7cff4d
  30. 28 Aug, 2003 1 commit
    • gbazin's avatar
      * modules/gui/wxwindows/*, src/playlist/playlist.c,... · d46439c5
      gbazin authored
      * modules/gui/wxwindows/*, src/playlist/playlist.c, modules/video_output/directx/events.c: got rid of the "Close Menu" popup menu item in the wxwindows interface.
      * modules/gui/wxwindows/*: updated the stream output dialog.
      
      d46439c5
  31. 23 Aug, 2003 1 commit
    • hartman's avatar
      * added a vlc_current_charset function. This tries to get the current charset · f388eb55
      hartman authored
        in use by the OS. It's pretty nifty. if available it uses nl_langinfo. Then
        it falls back to trying setlocale (exept on OSX, where this funtion is useless)
        and then falls back to LC_ALL, LC_TYPE and LANG environment variables.
        If only the LANG variable is available (like on osx) it tries a countrycode
        to charset mapping (making an educated guess ).
        On windows it retrieves the charset with GetACP().
        It also has an aliases system to transform incompatible charset description
        strings to libiconv compatible charset descriptions. If you want you can even
        retrieve the charset on OS/2.
      * modules/codec/subsdec/subsdec.c: By default we try to open a subtitle file in
        the systems charset (or language mapped to charset). It's no more than a guess,
        and if you open Latin1 subs on your Japanese system you will still need to
        specify the encoding by hand, but it's better then nothing.
      * src/playlist/playlist.c: spelling error in a comment.
      f388eb55
  32. 17 Aug, 2003 1 commit
  33. 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
  34. 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
  35. 17 Jul, 2003 1 commit
    • gbazin's avatar
      · 33b6abb6
      gbazin authored
      * src/playlist/playlist.c: fixed recent playlist breakage.
      33b6abb6
  36. 07 Jul, 2003 1 commit
  37. 27 Jun, 2003 2 commits
    • Sam Hocevar's avatar
      * src/misc/configuration.c: minor fix in a comment. · e3c317c2
      Sam Hocevar authored
        * src/playlist/playlist.c: the -Z mode randomises the first item as well.
      e3c317c2
    • 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