Commit Graph

55 Commits

Author SHA1 Message Date
craig.p.drummond
159fecd66f Store data under XDG_DATA_HOME (~/.local/share) 2013-09-24 18:38:31 +00:00
craig.p.drummond
5683f7939b Use NetworkJob to automatically, and consistently, handle re-directs 2013-09-18 18:11:49 +00:00
craig.p.drummond
69469c633a If playqueue is cleared when dynamizer is running, then also stop dynamizer. 2013-09-02 18:27:30 +00:00
craig.p.drummond
e872124e3b Initial support for Composer tag 2013-08-22 18:18:59 +00:00
craig.p.drummond
f0aad581a6 Dont include qtplural in localize.h - support folder should be as stand-alone as possible 2013-07-18 14:54:10 +00:00
craig.p.drummond
72cd22161c Use i18n is a more KDE-like manner, other wise debug builds of kdelibs produce (I18N_ARGUMENT_MISSING)
BUG: 254
2013-07-18 14:52:45 +00:00
craig.p.drummond
2b17d713a5 Only poll remote server when dynamic page is visible (and server is not running), and poll every 2 seconds. 2013-06-19 18:25:57 +00:00
craig.p.drummond
81840dc63d No need to update remote status just because MPD status has changed 2013-06-19 18:23:29 +00:00
craig.p.drummond
f439925729 Only log that a message is sent if we actually send one! 2013-06-19 18:23:04 +00:00
craig.p.drummond
ed22024d48 Show error label if remote dynamizer is not running 2013-06-19 18:22:37 +00:00
craig.p.drummond
19e6a428ef Poll cantata-dynamic if its not running 2013-06-19 18:22:07 +00:00
craig.p.drummond
d17b3aecc5 Better url change code 2013-06-19 18:21:46 +00:00
craig.p.drummond@gmail.com
9dc21e732e Send UDP message details from helper to client via id request 2013-06-19 11:15:34 +00:00
craig.p.drummond
46c0fa450d Bind to IPV4 address 2013-06-18 18:37:40 +00:00
craig.p.drummond
6b9d3dd983 Send ID from helper to client 2013-06-18 18:36:57 +00:00
craig.p.drummond
31ef77e17f Set content-header for HTTP POST messages 2013-06-18 18:35:53 +00:00
craig.p.drummond
aeffbd7db7 If cantata-dynamic is started in server mode, then communicate status via UDP multicast messages. 2013-06-18 18:35:10 +00:00
craig.p.drummond@gmail.com
ebbda96e71 Check that perl is installed before attempting to start cantata-dynamic in local mode.
BUG: 240
2013-06-17 11:09:25 +00:00
craig.p.drummond
a5622b4682 Fix Qt5 segfault on exit, due to static QIcons being destructed. 2013-06-12 19:56:59 +00:00
craig.p.drummond
78f5298bab Monochrome sidebar icons 2013-04-25 22:25:03 +00:00
craig.p.drummond
2ccccc902e Put scripts into 'scripts' sub-folder, and .css files into 'themes' 2013-04-08 17:10:02 +00:00
craig.p.drummond
fbb9a5d41c Remove QPointer usage 2013-03-04 19:39:41 +00:00
craig.p.drummond
65b6387052 Use list of actions 2013-03-01 21:32:22 +00:00
craig.p.drummond
20a5a4db49 - Move common actions into StdActions
- Models are in control of what actions are show at what level
2013-02-18 17:07:46 +00:00
craig.p.drummond
c65fc7713c Support for Qt5 2013-02-08 17:57:02 +00:00
craig.p.drummond
09374f37a4 Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
e05342bb2a Install cantata-dynamic to $prefix/share/cantata - as this is script is not intended to be run by users. 2013-01-22 18:08:28 +00:00
craig.p.drummond
9c3ec5b2b4 Delay for 1/2 second before checking if dynamic is running - gives everything time to be set-up. 2013-01-18 20:13:33 +00:00
craig.p.drummond
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
b79f87a377 Import initial cover download dialog. This is so that trunk actually compiles!
THIS IS NOT FINISHED, NOT EVEN SLIGHTLY!!!
2012-12-15 12:39:45 +00:00
craig.p.drummond
b12d2e2503 Set codec to UTF-8 when reading/writing rules.
BUG:120
2012-10-20 16:19:16 +00:00
craig.p.drummond@gmail.com
d697b4dc06 Move cacheDir/configDir helpers into Utils 2012-10-08 11:35:29 +00:00
craig.p.drummond@gmail.com
70b6f5d550 Move most of Utils into support lib 2012-10-08 11:22:54 +00:00
craig.p.drummond
7562762728 Make 'Icon' a class, and move icons into Icons 2012-10-03 19:16:52 +00:00
craig.p.drummond
f508ddbbc2 - Use a random icon that matches the repeat icon better.
- Draw the consume icon in code, so that it matches random and repeat better.
2012-09-19 15:10:26 +00:00
craig.p.drummond
80ebbf5780 Don't enforce oxygen icons for Qt-only (Linux) builds. Cehck for missing icons, and use alternatives.
NOTE: This is not 100% complete yet - still require better icons for dynamic, playlists, and others...
2012-09-18 18:47:25 +00:00
craig.p.drummond
b54a7d0992 Add support for 'Similar Artists' in dynamic mode. 2012-09-10 19:32:03 +00:00
craig.p.drummond
3c5dc17617 Improvements to HTTP mode
- Show spinner when loading list
- Only mark entry as active if it is the current entry, and HTTP state is not IDLE
- Clear currentJob when response received
2012-09-09 10:12:01 +00:00
craig.p.drummond
9654ce15a9 Add a server mode (with HTTP API) to cantata-dynamic. Intended so that dynamizer can run on same host as mpd 2012-09-07 19:42:17 +00:00
craig.p.drummond
affa21ccc5 Add 3 forms for Qt plural translations; none, singular, and others 2012-09-03 19:07:31 +00:00
craig.p.drummond@gmail.com
e5059c0a48 Use lupdate/lrelease for generating Qt translations from KDE ones.
Hack-around issues with Qt plural forms - use 'Tracks: 2' instead of '2 Tracks'
2012-09-03 11:27:16 +00:00
craig.p.drummond
6a29c8a261 Fix compilation!!!! 2012-09-02 20:17:35 +00:00
craig.p.drummond
5669f724f6 Initial work on Qt translations. Commented out for the moment, as xgettext is crashing!!! 2012-09-02 20:13:00 +00:00
craig.p.drummond
632bc04c9b Add support for multiple MPD servers. 2012-06-08 17:53:35 +00:00
craig.p.drummond
f9f1edcb6f Reduce KDE/Qt code duplication - by creating dummy Dialog, MessageBox, and InputDialog classes/namespaces for Qt. 2012-05-31 17:45:57 +00:00
craig.p.drummond
d06dbf624d Have cantata-dynamic helper script send a dbus message when it starts and stops - so that cantata main window can show the current status if the helper is started externally. 2012-05-18 16:37:27 +00:00
craig.p.drummond@gmail.com
4999dc2f2c If we remove the currently playing dynamic rules, then stop cantata-dynamic
Before linking new rules file, always remove the previous - even if QFile::exists() is false (as seems to be the case for dangling symlinks)
BUG:2
2012-04-27 11:06:18 +00:00
craig.p.drummond@gmail.com
19300a508b - Move showPage dbus command out of Mpris class and into mainwindow
- Make MainWindow::showError visible on dbus interface
- When cantata-dynamic fails to locate any songs it will now emit an error and terminate.
2012-04-20 11:20:44 +00:00
craig
f8c45d1588 Add option to set a rule as 'exclude songs matching..' 2012-04-18 20:08:59 +00:00
craig
558a14f770 Re-write dynamic script in perl -> no need for mpc!!! 2012-04-18 18:32:36 +00:00