Commit Graph

721 Commits

Author SHA1 Message Date
Jean-Philippe Andre f7622dffe3 fix build with a build dir 2017-09-04 12:10:59 +09:00
zmike 32c53b57e4 use spacebar for toggling play/pause in player view 2017-05-19 13:44:21 -04:00
zmike cf2057ae96 avoid crash when showing bg tooltip if callback is reached unexpectedly 2016-10-05 18:20:32 -04:00
zmike 00af2f5fbe lock overlay to visible while a menu is open 2016-10-05 18:20:32 -04:00
maxerba f3e02cd992 Adding slovenian translation 2016-09-21 21:43:36 +02:00
zmike 6a402bdab4 add some connected checks in empdd methods
ensure mpd functions don't crash when null connection object is passed
2016-08-12 13:35:11 -04:00
Mike Blumenkrantz e8509d5935 refactor/simplify apm updating, fix some corner cases when renaming files 2016-06-17 12:08:21 -04:00
Mike Blumenkrantz 8cfc6f6553 ensure empd_song_item exists before trying to show it on list change 2016-06-17 12:08:05 -04:00
Mike Blumenkrantz 4ce1ea622d handle case where new songs are inserted to the middle of the list
math++++
2016-06-17 12:07:22 -04:00
Mike Blumenkrantz f35a5f247e add safety abort() for items added without a header since this is a bug 2016-06-17 12:06:36 -04:00
Mike Blumenkrantz 37ecf51b45 use detected insert point as header if it has no subitems during queue handler
fixes an issue where deleting an album could accidentally append new songs without
any header item
2016-06-17 12:02:23 -04:00
Mike Blumenkrantz 024fcefe0f use detected insert point as header during update if no parent item exists
fixes crash when updating the last album in the queue
2016-06-10 11:51:50 -04:00
Mike Blumenkrantz 251376703b ensure parent item exists before using parent data during queue item delete
this is not true during window deletion
2016-05-28 13:12:22 -04:00
Mike Blumenkrantz 5604b52a2d update google image fetcher to new google json code 2016-05-28 13:04:10 -04:00
Mike Blumenkrantz d2ce216f6d handle case where metadata fails to return an image object to bg_add on update 2016-05-28 11:28:44 -04:00
Mike Blumenkrantz de9c5b31c5 make ctrl+wheel album skipping more accurate when wrapping first<->last item
fixes awkward case where trying to skip to the previous album from the last album
in the queue would go to the first album
2016-05-28 11:27:58 -04:00
Mike Blumenkrantz f39b7e1332 add special prioritized files to improve fs loader accuracy 2016-05-02 19:17:54 -04:00
Mike Blumenkrantz a83e832aeb ensure song item headers are accurately detected when calculating insert point 2016-05-02 18:15:30 -04:00
Mike Blumenkrantz 3f5dda8e9c hide filesystem search entry when all text has been deleted 2016-04-30 14:42:15 -04:00
Mike Blumenkrantz 08ee5e766b ensure a header song item is used when inserting a new header song item
fixes blank items after deletion
2016-04-30 14:28:44 -04:00
Mike Blumenkrantz 1e8a11ad2f reject non-printable characters when beginning filesystem search
#okra
2016-04-01 14:56:31 -04:00
zmike bd77f49f3c remove broken list variable aliasing during apm update processing
ref 2e101a73d501a1e11bc20d6e636872deef0d74b3
2016-02-26 20:53:14 -05:00
Mike Blumenkrantz 39bc858b20 handle incremental queue version updating in the ui
this removes a number of workarounds related to deleting items from the queue
and significantly improves ui responsiveness when editing the queue

ref T3147
2016-02-06 21:09:57 -05:00
Mike Blumenkrantz 86f5a0324e automatically update queue list headers when an item is removed
this is done manually in a few places but it's much more convenient
to enforce policy in the delete callback
2016-02-06 21:08:53 -05:00
Mike Blumenkrantz 8db5763d08 ensure that clipboard pastes are handled asynchronously
if more status calls occur before the queue updates, the clipboard
data would be erroneously consumed here, preventing the operation from
succeeding (and ruining the queue)
2016-02-06 21:05:30 -05:00
Mike Blumenkrantz 1daabc4f2b don't show total track count in tooltip if track number is larger than total
this isn't a totally accurate method of showing the track count, so at least
be less obvious about it in cases where it's flagrantly wrong
2016-02-06 21:03:54 -05:00
Mike Blumenkrantz ba50156ec4 add signal/handling for managing queue list changes using incremental updates
this is a significantly more lightweight method of updating the current queue
after any changes have been made, allowing clients to perform updates on only
part of the current queue instead of receiving the entire thing in a giant
chunk any time a change occurs
2016-02-06 21:01:39 -05:00
Mike Blumenkrantz 4db0a19dd3 trigger empdd status pings immediately in more method calls
this greatly improves ui responsiveness
2016-02-06 21:00:36 -05:00
Mike Blumenkrantz f501bb4542 convert array usage in empdd to lists 2016-02-06 20:59:55 -05:00
Mike Blumenkrantz fae6e09644 add item_compress* list theme group aliases
ref T3148
2016-02-06 20:52:37 -05:00
Mike Blumenkrantz f8db8f14b5 when running apm update adds, loop infinitely until all adds are processed
previously this would stop processing after appending a single album, likely
not what is desired
2016-02-06 12:13:43 -05:00
Mike Blumenkrantz 2b2e3baf0d improve apm directory matching algorithm with nested album directories
should work better for cases involving albums with songs split across many
subdirectories
2016-02-06 12:11:42 -05:00
Mike Blumenkrantz 85fc2cb869 add explicit make deps for building apm module 2015-12-16 16:20:35 -05:00
Mike Blumenkrantz ad6decde3f set HAVE_AZY_PARSER more accurately when not found during configure 2015-12-15 12:09:39 -05:00
Mike Blumenkrantz fd7ae69962 exit without crashing when empdd is run manually with --option
fix T2591
2015-11-24 21:32:19 -05:00
Mike Blumenkrantz fc7b9ff717 fix module file build dependencies to include empc.h 2015-11-24 21:26:09 -05:00
Mike Blumenkrantz c6ecd8c4c8 update gitignore 2015-11-24 21:18:41 -05:00
Jean-Philippe Andre c9672228cb Update po files 2015-11-23 20:39:51 +09:00
Jean-Philippe Andre e2b73d2500 Add ko translation 2015-11-23 20:39:09 +09:00
Seong-ho Cho f3f941121e add Korean translation for the empc music player
Summary:
I'm about to submit a new Korean translation for the empc.

There is no need to review translation because it's so creepy simple and there is few number of msgstrings.

Reviewers: seoz, jpeg

Reviewed By: jpeg

Differential Revision: https://phab.enlightenment.org/D3242
2015-11-23 20:13:03 +09:00
Mike Blumenkrantz 912accae99 add ctrl+Delete keybind on player view to delete current album 2015-11-06 17:27:06 -05:00
Mike Blumenkrantz 3a149bc52c break out ranged queue list deletion into util function 2015-11-06 17:26:08 -05:00
zmike 5d1baba0aa allow enter key to activate first selected item in player view 2015-09-16 18:11:58 -04:00
zmike 2157ed3e66 force updates on current song info display when queue list updates
should improve handling when metadata for current song is changed
2015-09-08 22:33:22 -04:00
Mike Blumenkrantz 9ada1350ea trigger login box on failure to gather mpd host info on startup 2015-09-06 22:30:34 -04:00
Mike Blumenkrantz 71427769de explicitly attempt to start empdd from empc on startup
this fixes autoconnection on more pedantic systems: gentoo doesn't
seem to need it, yet fedora does?

by making StartServiceByName the first call, it's easier to know if
empdd needs a connect() method call and then to send it before any
other method calls so that startup remains smooth behind the scenes
2015-09-06 22:21:20 -04:00
Mike Blumenkrantz 5cd08a5df9 allow empdd to start up without connection info
in the case of being started by dbus, no environment variables are
available, so making a connection based on the usual MPD_* variables
will be impossible; instead, ensure that the daemon can idle peacefully
while doing nothing until someone attempts to connect it
2015-09-06 22:21:20 -04:00
Mike Blumenkrantz 627050e55f break out dbus popup of doom into separate function for reuse 2015-09-06 22:21:20 -04:00
Mike Blumenkrantz e2a21f71db fix dbus service file name to match service name 2015-09-06 22:21:20 -04:00
zmike 5b3ef97f3a ...and go back to old-style html content-type header for xml return
ffs lyricwiki
2015-09-06 20:35:17 -04:00