Commit Graph

155 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 74ca53a96f enjoy: single instance using DBus name org.enlightenment.enjoy
Also provide minor Control interface, later to be extended with DB
management.



SVN revision: 63180
2011-09-04 23:27:15 +00:00
Gustavo Sverzut Barbieri 862f5dd781 enjoy: do some pending stuff, more events are supported.
SVN revision: 63165
2011-09-04 19:20:01 +00:00
Gustavo Sverzut Barbieri cdc69191ba enjoy: improved plugin infrastructure.
Plugins can now be disabled and enabled (at least in infrastructure
terms, no UI or code to filter out enabled plugins).

Two new signals will be emitted to main loop:
  - ENJOY_EVENT_STARTED
  - ENJOY_EVENT_QUIT

Plugins will be enabled on start, disabled on quit. Quit will also
preserve the main loop until everything is done using it. It is
required for stuff like FSO that needs to talk to DBus to re-enable
the CPU policy.



SVN revision: 63163
2011-09-04 18:37:05 +00:00
Gustavo Sverzut Barbieri 416b55125d remove legacy cruft.
SVN revision: 63156
2011-09-04 16:00:01 +00:00
Gustavo Sverzut Barbieri 5a1a5421b9 enjoy: version ABI.
SVN revision: 63155
2011-09-04 15:58:50 +00:00
Gustavo Sverzut Barbieri c39b9bd7d7 enjoy: remove done items.
SVN revision: 63154
2011-09-04 15:48:45 +00:00
Rui Seabra 0ba924dee0 Adjust spec to current status and add missing header files, fixing the build.
SVN revision: 63153
2011-09-04 14:50:11 +00:00
Gustavo Sverzut Barbieri 88289dd448 enjoy: simplify events and isolate mpris bit more.
Keep mpris stuff into mpris itself. Things like status and
capabilities will go into a structure that is easier to use.

Events were simplified, couple of them do not carry arguments anymore,
removing the need of "no_free" and hacks like alocating an integer to
later free it.

The point of event data is when you must use that value, in that exact
sequence. When you have things that just the latest version matters,
like the capabilities or the current song you'll inform MPRIS, then
it's simpler to just query before using. Remember that events are
asynchronous and may run after timers, fd-handlers (mouse, kbd) and
even other events.

I've also fixed the behavior of setting repeat (loop), reflect the
UI. Shuffle also were not updating toolbar, etc.

As a bonus I've added a missing MPRIS TrackList.GetLength :-)

Last but not least... watch out things like giving Edje a MSG_INT
where the given pointer is Eina_Bool (1 byte), it may cause problems
depending on the sibling values :-/




SVN revision: 63145
2011-09-04 03:40:14 +00:00
Gustavo Sverzut Barbieri 5d2e467aa0 enjoy needs no enjoy_event_id_get()
no need for enum + function, just use "EAPI extern int" as other EFL



SVN revision: 63143
2011-09-04 01:42:40 +00:00
Gustavo Sverzut Barbieri 41d8c6e5d1 enjoy: improve plugins build and installation.
- enjoy.m4 (similar to lightmediascanner/m4/ac-plugins.m4)
 - optional build of modules
 - each module in their own directory
 - install modules to $(libdir)/enjoy/
 - load module from multiple "standard" places, such as
   - $(libdir)/enjoy/
   - ~/.enjoy
   - ${ENJOY_LIB_DIR}/enjoy
   - $ENJOY_MODULES_DIR
 - each module have its own log stuff



SVN revision: 63142
2011-09-04 01:33:10 +00:00
Cedric BAIL baf145dd8a enjoy: fix double declaration.
SVN revision: 62972
2011-08-29 21:34:38 +00:00
Leandro Pereira 56c89d36a3 enjoy: Add note about capabilities/player status values
SVN revision: 62966
2011-08-29 19:54:41 +00:00
Leandro Pereira be41285277 enjoy: Move player status to a structure.
SVN revision: 62965
2011-08-29 19:54:38 +00:00
Leandro Pereira 08c86b1bf1 enjoy: Move FSO and MPRIS to plugins.
Still need to install the plugins in a proper directory (probably
$PREFIX/lib/enjoy/plugins) instead of looking for some known filename
prefix.  I don't know autofoo enough to do this.

Also needed is a way to load/unload plugins, preferably from the UI.

SVN revision: 62964
2011-08-29 19:54:34 +00:00
Leandro Pereira 38269abd59 enjoy: Call fso_{request,release}_resource() in fso_{shutdown,init}().
Preparation to move stuff to plugins.

SVN revision: 62882
2011-08-26 20:44:35 +00:00
Leandro Pereira dda7959442 enjoy: Misc cleanups.
SVN revision: 62877
2011-08-26 19:24:08 +00:00
Leandro Pereira 14a6b10ede enjoy: Move track list/player events to Ecore_Event.
This is to prepare to move MPRIS stuff to a plugin later.

SVN revision: 62876
2011-08-26 19:24:05 +00:00
Leandro Pereira 549e8f1cdb enjoy: 'msg' paramter is used in mpris.c::_cb_dbus_request_name.
SVN revision: 62860
2011-08-26 14:44:15 +00:00
Leandro Pereira f6bb4a8aaa enjoy: Plug memory leak when downloading a cover art that already existed on the cache directory
SVN revision: 62841
2011-08-25 22:35:33 +00:00
Leandro Pereira 7862272a4a enjoy: Simplify coverart-lastfm.c::_remove_disc_info()
SVN revision: 62840
2011-08-25 22:35:29 +00:00
Leandro Pereira 8eb1c3a475 enjoy: elm_genlist_horizontal_mode_set() is deprecated.
SVN revision: 62839
2011-08-25 22:13:29 +00:00
Leandro Pereira 9cdf10da20 enjoy: Load only the first failback image when cover loading fails
SVN revision: 62838
2011-08-25 22:10:22 +00:00
Leandro Pereira 70c40537b8 enjoy: db_albums_get() should return only albums which files haven't been marked as deleted by lms
SVN revision: 62837
2011-08-25 22:10:20 +00:00
Leandro Pereira 7fc987f071 [enjoy] Simplify _cover_with_exact_size() a little bit
SVN revision: 62836
2011-08-25 22:10:15 +00:00
Gustavo Sverzut Barbieri 7906d1486e enjoy: todo recommended order.
SVN revision: 62832
2011-08-25 19:25:49 +00:00
Gustavo Sverzut Barbieri ea1e80ef11 enjoy: update to-do list.
Want to help enjoy? There are plenty of things to do, at various
difficulty levels. I can help with mentoring, but I can't code them
all by myself. So let's publish ideas and hope people will contribute
:-)



SVN revision: 62828
2011-08-25 16:53:18 +00:00
Gustavo Sverzut Barbieri 15957b61a2 enjoy: fix minor annoyances with toolbar.
TODO: fix elm_toolbar that is resizing the item when the state change
to a large text (Library <-> Now Playing). Right now it was worked
around with a shorter label (Now Playing -> Playing)



SVN revision: 62774
2011-08-25 03:23:43 +00:00
Gustavo Sverzut Barbieri 46aa435c7f enjoy now will try to use theme-provided layouts.
SVN revision: 62772
2011-08-25 03:08:40 +00:00
Gustavo Sverzut Barbieri a99603bb29 enjoy: better page switch effect, remove cruft.
SVN revision: 62767
2011-08-25 00:55:39 +00:00
Carsten Haitzler 44bcecdb2f that's it - remove autom4te.cache dirs again... - keep having to many
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.



SVN revision: 61974
2011-08-02 04:13:33 +00:00
Michael Jennings 843554c238 Since the SVN revision is now included in %{version}, it's redundant
to have it in %{release} also.  So let's just tag the package as ours
and try to make sure it doesn't interfere with vendor releases.



SVN revision: 60407
2011-06-16 20:36:43 +00:00
Carsten Haitzler 3c10fcc3be use icons dir for pixmaps :)
SVN revision: 57843
2011-03-18 07:34:45 +00:00
Cedric BAIL 7068c407cc enjoy: MOUAH AH AH AH ! Just a dso fix.
SVN revision: 57593
2011-03-08 14:27:41 +00:00
Cedric BAIL 7066cbf7f4 enjoy: youpla, another dso commit.
Thanks I was already crazy, this serie of patch would have make me nuts otherwise :-)


SVN revision: 57592
2011-03-08 14:23:16 +00:00
Cedric BAIL b05ca42b9f enjoy: lalala, dso commit.
SVN revision: 57591
2011-03-08 14:17:27 +00:00
Cedric BAIL 7126abda50 enjoy: this latest dso commit.
SVN revision: 57590
2011-03-08 14:14:20 +00:00
Cedric BAIL 420a365bc5 enjoy: the dso patch !
SVN revision: 57588
2011-03-08 13:49:19 +00:00
Cedric BAIL 579345713f enjoy: dso...
SVN revision: 57585
2011-03-08 13:04:49 +00:00
Carsten Haitzler 21dadcc1b0 ecore_con_url_get needs no args.
SVN revision: 56338
2011-01-28 02:24:24 +00:00
Leandro Pereira 6e40c97ca8 [enjoy] Add fso support, to request CPU resource at startup so mobile doesn't suspend while listening to music
Patch by pespin.



SVN revision: 56308
2011-01-26 18:15:47 +00:00
Carsten Haitzler 7b92016ddf lets have a better icon for enjoy eh? :) taken from e17's audio player
icon.



SVN revision: 55963
2011-01-07 04:02:55 +00:00
Carsten Haitzler 6376c2d168 ok rafael/rui - i've deprecated send and made a get and post call that
will explicitly do a get or a post. send is still there (deprecated)
and it just does what it did before - it guesses effectively. please
comment. :)



SVN revision: 55926
2011-01-06 06:33:25 +00:00
Vincent Torri 7b637aadfa missing file for the ql binary
SVN revision: 55500
2010-12-11 17:20:47 +00:00
Otávio Pontes a9f4da614e Using different layouts to improve now playing transition.
SVN revision: 55417
2010-12-09 15:30:52 +00:00
Rui Seabra 3be8737913 Make enjoy appear in the proper menu entry in some places (at least GNOME)
SVN revision: 55031
2010-11-26 23:41:08 +00:00
Rui Seabra 38febd7707 Give an rpm spec to enjoy, and fix the icon dir to be pixmaps so relative icon naming in the desktop file may work properly.
SVN revision: 55028
2010-11-26 21:55:12 +00:00
Bruno Dilly 0ada0c5d19 Fixes for make distcheck on enjoy
Add mpris.h coverart-lastfm.h on makefile



SVN revision: 55024
2010-11-26 19:31:57 +00:00
Leandro Pereira c2c6ed8f2c [enjoy] Unref the DBUS interfaces before shutting down e_dbus
SVN revision: 54947
2010-11-24 19:03:15 +00:00
Leandro Pereira 262fe3a570 [enjoy] Use superfast hash instead of djb2 on _cover_album_local_find()
SVN revision: 54946
2010-11-24 18:32:22 +00:00
Leandro Pereira 2a72a19dd6 [enjoy] Generate thumbnails with a higher quality
SVN revision: 54945
2010-11-24 18:32:20 +00:00