Commit Graph

58 Commits

Author SHA1 Message Date
Mike Blumenkrantz 09ec213a31 remove e_util_zone_current_get() usage 2015-03-13 17:58:45 -04:00
Mike Blumenkrantz ed897a231e de-e_comp_get()ify e
mrw I remember how to regex http://i.giphy.com/dC9dujPVeAfIY.gif
2015-03-13 15:12:20 -04:00
Stefan Schmidt 38432f93d5 music-control: Update generated code after various eldbus-codegen fixes
This includes the fixes for working propset callback as well as memory
leak fixes.
2014-11-24 10:52:59 +01:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
Stefan Schmidt 40cbdbc674 modules/music-control: Add Tomahawk as compatible player.
This list is getting longer and longer. Maybe we should think about
autodetecting available players on the session bus?
2014-11-07 09:05:32 +01:00
bootleg 8341f10634 Adding support for Pithos (http://pithos.github.io/) in the music-control module. Play/pause, skip, and lock screen are confirmed to work correctly with the latest version. Additional functions (Ban, Tired, etc.) aren't working just yet and the...
Summary: ...image of the current track is also not passed just yet.

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1437
2014-09-16 11:48:43 +02:00
maxerba fac4e89dfa Updating desktop files, eo.po and fr.po 2014-09-11 21:14:58 +02:00
Davide Andreoli d5cbe23bd2 Music-control: added epymc to the list of supported players :) 2014-08-11 21:55:20 +02:00
maxerba 9f19d5a676 Updating translations 2014-05-19 22:04:38 +02:00
Mike Blumenkrantz f540df9135 fix music-control theme namespacing 2014-05-11 14:05:12 -04:00
Jérémy Zurcher 316b4030e7 music-control: add missing EINA_UNUSED 2014-05-07 11:56:35 +02:00
Chidambar Zinnoury 7496cf207d e music-control: Add MPD support. 2014-04-21 15:56:04 +02:00
Stefan Schmidt ff874b128a music-control: Do not leak the allocated metadata strings
Fix for ca07e7d505

Thanks are going to Davide Andreoli for spotting it.
2014-03-28 10:51:29 +01:00
Stefan Schmidt ca07e7d505 bugfix: music_control: Use correct markup for metadata text.
We piped the plain metadata text to edje TEXTBLOCK which might interpret
some of the characters as markup. Better convert it to the correct markup
first. The actual bug case was a & in the metadata cut off the rest of
the text. Now we get the correct &amp before sending it of to edje.

Fixes T1061
2014-03-27 12:51:38 +01:00
Mike Blumenkrantz 6142845ef8 bugfix: don't use external log domain in music player
CID 1132743
2014-03-13 12:38:22 -04:00
Davide Andreoli 7d406706da music-control: fix popup autoclose 2014-01-19 15:03:31 +01:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Davide Andreoli 771c352281 music-control: do not request props if the service is not up.
This prevent music player that support the dbus activation system
to be launched at module startup. Instead of blindly request properties
first check if the name has an owner.

As a side effect now the module fully support the dbus activation system:
if your player is not running it will be launched when you click his
name or any of the controls in the popup.

Note: If your player does not provide the autorun feature you can just
create a .service file in dbus share folder with the following content:

[D-BUS Service]
Name=org.mpris.MediaPlayer2.quodlibet
Exec=/usr/bin/quodlibet

...of course you must change the name of your player ;)
2013-11-11 23:40:27 +01:00
Davide Andreoli 5920551f15 music-control: use efreet to decode uri
This fix the cover image display when spaces (and probably other special chars) are in the file name.
2013-11-11 21:53:16 +01:00
Davide Andreoli 2ef11b928e music-control: add Quod Libet in players list 2013-11-11 20:45:29 +01:00
Davide Andreoli 2822d8e22b music-control: let the popup automatically delete the cover image.
This way the image of the cover is deleted after the popup-del animation.
2013-11-02 23:09:38 +01:00
Davide Andreoli 410c2a398d music_control: add metadata (title, artist and album) and the cover image to the popup
Reviewers: zmike, zehortigoza

Reviewed By: zehortigoza

CC: cedric

Differential Revision: https://phab.enlightenment.org/D272
2013-10-28 22:55:10 +01:00
q66 8e860facf4 music control: add Clementine 2013-10-07 18:16:42 +02:00
Igor Murzov 519c4de7f6 Revert "updating desktop files"
This reverts commit 22f7a34e23.
2013-09-04 04:11:13 +04:00
maxerba 22f7a34e23 updating desktop files 2013-07-31 12:08:42 +02:00
maxerba 26303bbe1f Fixed sorting in desktop files 2013-07-05 19:02:53 +02:00
maxerba 968d4d2206 updating desktop files translations 2013-07-02 17:39:54 +02:00
maxerba 5deed35ac2 adding catalan translation and sorting lines alphabetically 2013-06-05 00:16:38 +02:00
Stefan Schmidt 48cd1c1598 music-control: Add Rhythmbox to supported players. 2013-05-23 09:48:36 +01:00
Mike Blumenkrantz e407877885 fix possible memleak when failing to fetch music-player seek dbus args
klocwork issue
2013-05-20 11:16:07 +01:00
discomfitor c34a28707f e_popup_autoclose() now also allows a delete function to replace normal popup deletion 2013-05-18 19:39:52 +01:00
Igor Murzov 229ad049bc Support DeaDBeeF in Music Controller 2013-05-11 12:15:01 +04:00
maxerba 8d7c40c622 updating serbian translation 2013-05-04 20:40:16 +02:00
Igor Murzov 971ca768eb Update russian translation 2013-05-02 16:05:26 +04:00
Igor Murzov d81819e5cd Add some more messages to the pot 2013-05-02 15:49:25 +04:00
maxerba 4f4ab0f432 updating italian translation 2013-04-25 15:21:24 +02:00
Lucas De Marchi f8a2dd4d95 Rename edbus->eldbus 2013-04-23 12:37:43 -03:00
Stefan Schmidt 27b1b54a04 e/musi-control: Use ECORE_CALLBACK_PASS_ON.
To allow other users to receive the event as well. Spotted by Jose Souza. Thanks!
2013-03-08 14:32:13 +00:00
Stefan Schmidt 5dff40a70c e/music-control: Allow strings to be translated. 2013-03-07 11:43:46 +00:00
Stefan Schmidt b81777bfde e/music_control: Add option to pause music on desklock.
Locking your screen pauses the music unlocking starts playing again.
Option is off by default.
2013-03-07 11:40:27 +00:00
Stefan Schmidt 299aea18c4 e/music_control: Fix typo for playing 2013-02-22 13:46:28 +00:00
Mike Blumenkrantz bf9933a336 E_FN_DEL macro renamed to E_FREE_FUNC with param order swapped for consistency 2013-02-22 13:18:30 +00:00
Stefan Schmidt 26d32a34b2 e/music_control: Allow an action to toggle between play and pause.
We offer the play pause action but did only do the pause. Now we allow
toggling the state.
2013-02-22 13:00:02 +00:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Chidambar Zinnoury 965ab80819 e music-control: add check-changed.
Bonus: some unused lovin’.


SVN revision: 83573
2013-02-02 13:16:56 +00:00
José Roberto de Souza 0f896f73a8 e music-control: Fix calling wrong mpris2 method
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82353
2013-01-07 15:44:23 +00:00
José Roberto de Souza b0dd0b750a e: Show icon of music-control module
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82215
2013-01-04 16:45:39 +00:00
José Roberto de Souza 6006e75fe5 e: Add label to tell user that he must enable mpris2 in his player
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82089
2013-01-03 18:15:59 +00:00
José Roberto de Souza 548b3ecdff e/music-control: Move edc and images to data/theme
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81997
2013-01-02 13:22:36 +00:00
José Roberto de Souza 2fbd1c79ad e/music-control: Add keybinds
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81996
2013-01-02 13:22:26 +00:00