Commit Graph

53 Commits

Author SHA1 Message Date
Hugo Beauzée-Luyssen 7cbdb33cce medialib: Add bookmark support 2020-06-22 15:12:29 +02:00
Hugo Beauzée-Luyssen 9c73bd3ad6 medialib: Fix invalid helper return type 2020-04-16 10:15:42 +02:00
Hugo Beauzée-Luyssen 008920ff9c player: medialib: save track StrIds instead of legacy int
Co-authored-by Thomas Guillem <thomas@gllm.fr>

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2020-02-28 20:35:14 +01:00
Hugo Beauzée-Luyssen aa84a30ecc medialibrary: Allow media type to be set 2020-01-09 16:25:58 +01:00
Hugo Beauzée-Luyssen c2bcb9952b medialibrary: Bump contrib version & adapt to API changes 2019-12-16 11:55:43 +01:00
Hugo Beauzée-Luyssen 7b81168938 contrib: medialibrary: Bump version
And reflect the API changes
2019-10-29 11:57:49 +01:00
Hugo Beauzée-Luyssen f12cd172a9 medialibrary: Expose onHistoryChange event 2019-09-24 14:12:03 +02:00
Hugo Beauzée-Luyssen f4c8acd04c medialib: Allow playback preferences to be get/set as batches 2019-09-24 14:12:03 +02:00
Hugo Beauzée-Luyssen 9f6b3be3c7 medialibrary: Fix typo 2019-09-24 14:12:03 +02:00
Hugo Beauzée-Luyssen 79835e0b33 medialibrary: Rename playback_pref to playback_state 2019-09-24 14:12:03 +02:00
Hugo Beauzée-Luyssen caf1a4af37 Update to medialibrary API changes 2019-09-24 14:12:03 +02:00
Hugo Beauzée-Luyssen 5961eeaa01 medialibrary: Bump version & update API usages
- Multiple thumbnail can now be used
- Discovery, thumbnailing & metadata extractions are now interruptible
- An entry_point_added event has been added
2019-06-26 18:15:46 +02:00
Hugo Beauzée-Luyssen 70d5c4debc medialibrary: Add media/input_item getters through mrl 2019-06-26 18:15:46 +02:00
Hugo Beauzée-Luyssen 980aa49905 medialibrary: Use va_list for Get parameters
Since we soon will need something else than int64
2019-06-26 18:15:46 +02:00
Rémi Denis-Courmont e3270f2ae4 objects: merge vlc_object_t and vlc_common_members
This should fix historical aliasing issues.
2019-04-14 22:24:33 +03:00
Hugo Beauzée-Luyssen c5d404e583 vlc_media_library.h: Add a VLC_ML_PARENT_UNKNOWN 2019-01-23 18:08:57 +01:00
Hugo Beauzée-Luyssen 244c1c2229 medialibrary: Fix TOCTOU when accesing mrls 2019-01-23 11:05:16 +01:00
Hugo Beauzée-Luyssen ab48d9e513 medialibrary: Add a VLC_ML_IS_INDEXED control 2019-01-23 11:05:16 +01:00
Hugo Beauzée-Luyssen 3c609c4ee9 medialibrary: Add an input_item_t from media getter 2019-01-23 11:05:16 +01:00
Steve Lhomme 5363279805 remove the $Id$ in the source code 2019-01-17 12:21:18 +01:00
Hamza Parnica 8cc7526937 media library: add playlist media helpers
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2018-11-12 17:09:05 +01:00
Hugo Beauzée-Luyssen 1e3c634076 medialibrary: Allow an event to be unregistered from its callback 2018-11-12 17:09:05 +01:00
Hugo Beauzée-Luyssen f1128968b3 medialibrary: Add thumbnailing support 2018-11-12 17:09:05 +01:00
Hugo Beauzée-Luyssen 851e006ef8 vlc_media_library.h: Fix comments 2018-08-22 11:41:16 +02:00
Hugo Beauzée-Luyssen 2ae42bae1c medialibrary: entry points: Use the same list as for other ml entities
This also rename vlc_ml_entrypoint_t to vlc_ml_entry_point_t to follow
the same naming convention as the entry point related events
2018-08-22 11:41:16 +02:00
Hugo Beauzée-Luyssen 75109ac3e8 vlc_media_library.h: uniformize helpers error check 2018-08-20 11:13:53 +02:00
Hugo Beauzée-Luyssen 49cbf166c6 core: medialibrary: Add an event API 2018-08-20 11:13:53 +02:00
Hugo Beauzée-Luyssen 5c029693c9 medialibrary: Add missing reload operation 2018-08-20 11:13:53 +02:00
Hugo Beauzée-Luyssen 1718b63dad medialibrary: Make vlc_medialibrary_t an opaque type
vlc_medialibrary_module_t can be used by a "media library" module
2018-08-20 11:13:53 +02:00
Hugo Beauzée-Luyssen e52696f9da vlc_media_library.h: Start vlc_ml_parent_type from 1 2018-08-16 17:52:29 +02:00
Hugo Beauzée-Luyssen bf18588183 vlc_media_library: Rename vlc_ml_get -> vlc_ml_instance_get
And drop _obj suffix for release function, so that medialibrary
entities are now fetched/released using vlc_ml_get & vlc_ml_release
2018-08-16 17:52:29 +02:00
Hugo Beauzée-Luyssen 2cdc127b4e vlc_media_library: Include vlc_common.h 2018-08-16 17:52:29 +02:00
Hugo Beauzée-Luyssen 126b2fe98b vlc_media_library: Reorder to group declarations
- First structures & enum together
- Then public function declarations
- Then inline helpers
2018-08-16 17:52:29 +02:00
Hugo Beauzée-Luyssen eeb09fbc86 vlc_media_library: Don't swallow pf_control return values 2018-08-16 17:52:29 +02:00
Hamza Parnica 0c6c73371c media library: Add playlist helpers
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2018-07-25 12:55:43 +02:00
Hugo Beauzée-Luyssen 61e59e4e53 Add a new media library core API 2018-07-17 23:53:01 +02:00
Hugo Beauzée-Luyssen d36e369e6a core: Remove old medialibrary 2018-07-17 23:53:01 +02:00
Steve Lhomme ff56c92a5e rename mtime_t to vlc_tick_t
Keep a copy of vlc_tick_tfor backward compatibility.
2018-06-22 13:19:24 +02:00
Rémi Denis-Courmont 628b01be31 core: remove media library support 2013-03-24 19:31:10 +02:00
Rémi Denis-Courmont 51a26d0876 media library: remove non-sensical use of spin locks
The code is complete and utter crap either way.
2012-11-10 20:50:11 +02:00
Rémi Denis-Courmont 1c4f1394e0 Unexport ml_Create() and ml_Destroy() 2012-08-21 21:31:53 +03:00
Rémi Denis-Courmont 4d14350c9a ML: remove an unused function 2012-08-21 21:31:53 +03:00
Rémi Denis-Courmont 4ad2d5e385 Remove non-sensical FREENULL() 2012-07-19 23:22:41 +03:00
Francois Cartegnie bc88ea7a81 ml: fix double free.
Double free was occuring on some psz_url when copying medias.
Might be caused by a double listing from the sql query.
2012-07-19 14:11:26 +02:00
Jean-Baptiste Kempf 36ab287e77 LGPL
Re-license almost all of libVLC and libVLCcore to LGPLv2.1+

This move was authorized by the developers, either:
 - by e-mail,
 - by vote at the VideoLAN Dev Days 2011,
 - on the license website,
 - in a contract, oral or written.
No objection was raised, so far.

The developers agreeing are:
  Justus Piater
  Alexis Ballier
  Alexander Bethke
  Mohammed Adnène Trojette
  Alex Converse
  Alexey Sokolov
  Alexis de Lattre
  Andre Pang
  Anthony Loiseau
  Cyril Deguet
  André Weber
  Boris Dorès
  Brieuc Jeunhomme
  Benjamin Drung
  Hugo Beauzée-Luyssen
  Benoit Steiner
  Benjamin Pracht
  Bernie Purcell
  Przemyslaw Fiala
  Arnaud de Bossoreille de Ribou
  Brad Smith
  Nick Briggs
  Christopher Rath
  Christophe Courtaut
  Christopher Mueller
  Clement Chesnin
  Andres Krapf
  Damien Fouilleul
  David Flynn
  Sebastien Zwickert
  Antoine Cellerier
  Jérôme Decoodt
  Jérome Decoodt
  Dylan Yudaken
  Eduard Babayan
  Eugenio Jarosiewicz
  Elliot Murphy
  Eric Petit
  Erwan Tulou
  Etienne Membrives
  Ludovic Fauvet
  Fabio Ritrovato
  Tobias Güntner
  Jakub Wieczorek
  Frédéric Crozat
  Francois Cartegnie
  Laurent Aimar
  Florian G. Pflug
  Felix Paul Kühne
  Frank Enderle
  Rafaël Carré
  Simon Latapie
  Gildas Bazin
  Geoffroy Couprie
  Julien / Gellule
  Gildas Bazin
  Arnaud Schauly
  Toralf Niebuhr
  Vicente Jimenez Aguilar
  Derk-Jan Hartman
  Henri Fallon
  Ilkka Ollakka
  Olivier Teulière
  Rémi Duraffort
  Jakob Leben
  Jean-Baptiste Kempf
  Jean-Paul Saman
  Jean-Philippe Grimaldi
  Jean-François Massol
  Gaël Hendryckx
  Jakob Leben
  Jean-Marc Dressler
  Jai Menon
  Johan Bilien
  Johann Ransay
  Joris van Rooij
  JP Dinger
  Jean-Philippe André
  Adrien Grand
  Juha Jeronen
  Juho Vähä-Herttua
  Kaarlo Raiha
  Kaarlo Raiha
  Kamil Baldyga
  Keary Griffin
  Ken Self
  KO Myung-Hun
  Pierre Ynard
  Filippo Carone
  Loïc Minier
  Luca Barbato
  Lucas C. Villa Real
  Lukas Durfina
  Adrien Maglo
  Marc Ariberti
  Mark Lee
  Mark Moriarty
  Martin Storsjö
  Christophe Massiot
  Michel Kaempf
  Marian Ďurkovič
  Mirsal Ennaime
  Carlo Calabrò
  Damien Lucas
  Naohiro Koriyama
  Basos G
  Pierre Baillet
  Vincent Penquerc'h
  Olivier Aubert
  Pankaj Yadav
  Paul Corke
  Pierre d'Herbemont
  Philippe Morin
  Antoine Lejeune
  Michael Ploujnikov
  Jean-Marc Dressler
  Michael Hanselmann
  Rafaël Carré
  Ramiro Polla
  Rémi Denis-Courmont
  Renaud Dartus
  Richard Shepherd
  Faustino Osuna
  Arnaud Vallat
  Rob Jonson
  Robert Jedrzejczyk
  Steve Lhomme
  Rocky Bernstein
  Romain Goyet
  Rov Juvano
  Sam Hocevar
  Martin T. H. Sandsmark
  Sebastian Birk
  Sébastien Escudier
  Vincent Seguin
  Fabio Ritrovato
  Sigmund Augdal Helberg
  Casian Andrei
  Srikanth Raju
  Hannes Domani
  Stéphane Borel
  Stephan Krempel
  Stephan Assmus
  Tony Castley
  Pavlov Konstantin
  Eric Petit
  Tanguy Krotoff
  Dennis van Amerongen
  Michel Lespinasse
  Can Wu
  Xavier Marchesini
  Sébastien Toque
  Christophe Mutricy
  Yoann Peronneau
  Yohann Martineau
  Yuval Tze
  Scott Caudle
  Clément Stenac

It is possible, that some minor piece of code was badly tracked, for
some reasons (SVN, mainly) or that some small developers did not answer.
However, as an "œuvre collective", defined as in "CPI 113-2 alinéa 3",
and seeing "Cour. Cass. 17 Mai 1978", and seeing that the editor and
the very vast majority of developers have agreed (> 99.99% of the code,
> 99% of developers), we are fine here.
2011-11-27 22:54:33 +01:00
Rémi Denis-Courmont 6f258887aa Replace VLC_EXPORT macro with a simple prefix, VLC_API
This should help Doxygen parse VLC headers, and generally makes headers
easier to read. LibVLC already uses a similar approach.
2011-05-07 18:43:51 +03:00
Rémi Duraffort 08cc5fd694 Remove obvious statements. 2011-03-21 22:59:18 +01:00
Rémi Duraffort 7870e9b5cd Remove obvious statement. 2011-03-21 22:35:11 +01:00
Srikanth Raju 3a1efde26b ML/Core: Change ml_Hold/ml_Release to ml_Get
Similar to pl_Get
2011-01-24 22:04:02 +05:30
Rafaël Carré 2164865c7c vlc_media_library.h: unused variable 2010-07-30 19:46:19 +02:00