Commit Graph

4258 Commits

Author SHA1 Message Date
Thomas Adamcik
7f80a188c9 core: Add library updater.
Idea behind this class is to have a clear sub-set of our library API that is
only used for updating libraries. This makes it very clear what methods are
needed for just libaries and additionally updatable libraries.

Next couple of commits will build on this idea taking us closer to plugable
local libraries.
2013-05-20 23:50:46 +02:00
Thomas Adamcik
5961a1f5c8 scanner: Write tag cache to tmp file.
Tag cache is now output to a tmp file residing in the same folder as the real
one. Once generated the tmpfile is moved over the original file for an atomic
updated.
2013-05-20 22:56:09 +02:00
Thomas Adamcik
351589c6c8 path: Add find_uris version of find_files 2013-05-20 22:42:31 +02:00
Stein Magnus Jodal
f91e621c40 Merge pull request #452 from adamcik/feature/mtime
Add last modified time to tracks and make scanner mtime aware.
2013-05-20 06:57:53 -07:00
Thomas Adamcik
b4411ec877 scanner: Update based on review comments. 2013-05-20 15:28:41 +02:00
Thomas Adamcik
afb46b23de scanner: Respect mtime when picking files to scan.
Speedup scanning by checking what files exist, and which have been updated.
2013-05-20 01:45:52 +02:00
Thomas Adamcik
cb6634db8c scanner: Load existing tracks from local library. 2013-05-20 01:42:54 +02:00
Thomas Adamcik
c59f488b11 scanner: Pass in files to scan 2013-05-20 01:42:48 +02:00
Thomas Adamcik
802e6ad5ed scanner: Add last_modified to scanner data 2013-05-20 01:10:11 +02:00
Thomas Adamcik
855d03c81e local: start reading mtime from tag caches 2013-05-20 00:58:43 +02:00
Thomas Adamcik
b3b41240a1 core: Add last_modified to track model 2013-05-19 23:47:53 +02:00
Stein Magnus Jodal
bdbe2b32ae Merge pull request #449 from adamcik/feature/keyring
Add keyring support via dbus secret service
2013-05-16 13:07:24 -07:00
Thomas Adamcik
cdbe1c9cd1 config: Review fixes. 2013-05-14 21:24:37 +02:00
Thomas Adamcik
9bd4d90e41 config: Keyring debug logging cleanup 2013-05-14 00:21:05 +02:00
Thomas Adamcik
b88cf4a8b2 config: Integrate keyring values with overrides. 2013-05-13 23:51:17 +02:00
Thomas Adamcik
474600cf2a config: Add keyring module with fetch and set.
New config submodule for fetching secrets from a secrets service over dbus. To
facilitate this we add a section and key to the stored attributes, allowing us
to fetch all mopidy values from the keyring and map them to the correct config
values.

A helper for setting values is also added. Due to differences in in the secrets
dbus API across versions of the APIs and various states of support in the
secrets service we try and open the default, login and finally session
keyrings for storage.

Locked keyrings will be dismissed for all operations.
2013-05-13 23:14:49 +02:00
Stein Magnus Jodal
bf7651ae7e js: Update dev dependencies 2013-05-13 19:25:53 +02:00
Stein Magnus Jodal
b22cba63b8 js: Use 'npm start' to run 'grunt watch' 2013-05-13 19:25:34 +02:00
Stein Magnus Jodal
75db7c9e7f docs: Fix typo 2013-05-12 21:46:46 +02:00
Stein Magnus Jodal
647325532b docs: Review Raspi sound quality howto 2013-05-11 18:40:08 +02:00
Thomas Adamcik
86c2ee14cc docs: Add how to get good sound on raspis (fixes: #299) 2013-05-11 00:57:49 +02:00
Stein Magnus Jodal
f7234a6128 commands: Fix verbose mode
argparse and optparse differs in how action='count', default=1 is interpreted.
2013-05-04 15:55:25 +02:00
Stein Magnus Jodal
1c1b8f843e config: Fix typo 2013-05-03 23:35:51 +02:00
Stein Magnus Jodal
0e75365396 docs: Add glossary (fixes #430) 2013-05-02 23:13:08 +02:00
Stein Magnus Jodal
5dea63a548 docs: Add section on extension config and disabling 2013-05-01 21:44:02 +02:00
Stein Magnus Jodal
370cf133fa docs: Remove mixers' module docs 2013-05-01 21:43:40 +02:00
Stein Magnus Jodal
01335b9fea docs: Use 'config' more consistently 2013-05-01 20:51:20 +02:00
Stein Magnus Jodal
c7ab8cedca docs: Fix typo and level of header 2013-05-01 15:07:56 +02:00
Stein Magnus Jodal
b9a7f20b15 docs: Fix logging config link 2013-05-01 15:06:09 +02:00
Thomas Adamcik
0ae247a3da Merge pull request #444 from dz0ny/patch-1
Add mention of mopidy-convert-config
2013-05-01 05:47:44 -07:00
Janez Troha
7b361b836c Add mention of mopidy-convert-config 2013-05-01 14:12:49 +03:00
Stein Magnus Jodal
ddef55e0e5 Merge pull request #441 from jodal/feature/argparse
Switch from optparse to argparse
2013-04-30 15:01:02 -07:00
Stein Magnus Jodal
94ab12b13c commands: Update override parsing tests 2013-04-30 23:42:53 +02:00
Stein Magnus Jodal
69caea2ef9 command: Move override parsing into module 2013-04-30 23:27:12 +02:00
Stein Magnus Jodal
5e4f22bd17 commands: Use argparse to split config files into a list 2013-04-30 23:27:12 +02:00
Thomas Adamcik
02ea6ecb74 spotify: Just check if we are connected, do not wait until timeout 2013-04-30 00:21:10 +02:00
Thomas Adamcik
2f825b34af config: Switch to ordered dict 2013-04-30 00:19:59 +02:00
Stein Magnus Jodal
df2abde258 commands: Move argument parser to commands module 2013-04-29 22:57:44 +02:00
Stein Magnus Jodal
a301906fe7 commands: Move --show-{config,deps} handlers to new module 2013-04-29 22:52:11 +02:00
Stein Magnus Jodal
f7ef080671 docs: Add argparse conversion to changelog 2013-04-29 22:17:36 +02:00
Stein Magnus Jodal
1fb9634e47 argparse: Convert mopidy-scan command 2013-04-29 22:17:36 +02:00
Stein Magnus Jodal
a97aab7531 argparse: Convert mopidy command 2013-04-29 22:17:36 +02:00
Stein Magnus Jodal
200473861f docs: Add issue reference 2013-04-29 22:04:39 +02:00
Thomas Adamcik
3f895159b2 Merge pull request #435 from jodal/feature/drop-python-2.6
Drop Python 2.6 support
2013-04-29 12:44:05 -07:00
Stein Magnus Jodal
c6a905efd7 main: Remove resolved TODO 2013-04-29 21:35:35 +02:00
Stein Magnus Jodal
a8f8e9363c config: Fix flake8 warnings 2013-04-29 21:35:29 +02:00
Stein Magnus Jodal
de84fdfef4 Remove hacks required by #302 to run on older Python 2.6.x 2013-04-29 19:52:29 +02:00
Stein Magnus Jodal
52ee456692 tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
Stein Magnus Jodal
2d80621b70 tests: Remove unittest2 2013-04-29 19:26:07 +02:00
Stein Magnus Jodal
d7453982b8 Require Python 2.7 2013-04-29 19:21:21 +02:00