Thomas Adamcik
cee73b5501
audio: Add support for checking seekable state in scanner
...
Return type of scanner changed to a named tuple with (uri, tags, duration,
seekable). This should help with #872 and the related "live" issues.
Tests, local scan and stream metadata lookup have been updated to account for
the changes.
2015-03-12 22:11:50 +01:00
Thomas Adamcik
40c7225cb7
local: Fix remainder display in local scan
2015-03-12 22:11:33 +01:00
Thomas Kemmer
9150c34053
Fix #1023 : Remove support for local album images from coverartarchive.org
2015-03-06 10:02:08 +01:00
ronaldz
b2976dccb6
Trailing white space and expected blank line fix
2015-03-01 14:40:08 -05:00
ronaldz
87ea3c9745
Added a --force argument. Related to issue #910
2015-02-26 21:32:31 -05:00
ronaldz
961aafff45
Maximum was miss-spelled in the local Scan command's help text
2015-02-25 21:19:47 -05:00
Thomas Adamcik
12cc2ed35c
local: Call library add with tags and duration if asked to
2015-02-12 21:10:21 +01:00
Thomas Adamcik
f4c501a08f
local: Reuse the mtime we already found in local scan
2014-12-23 23:25:47 +01:00
Thomas Adamcik
32da1cb8e9
local: Use MIN_DURATION_MS in log message
2014-12-21 21:46:21 +01:00
Thomas Adamcik
9be788b129
audio: Move tags to track conversion to audio utils
2014-12-18 23:36:56 +01:00
Thomas Adamcik
de6bd63481
audio: Remove min duration code from scanner.
...
The local scanner now handles this itself by looking at the duration.
2014-12-18 23:28:19 +01:00
Thomas Adamcik
4f8244c499
audio: Convert audio_data_to_track to tags_to_track
...
The new function only uses tags as input. In other words we now need to set
length, uri and mtime ourselves. Users of scan APIs have been updated.
2014-12-18 23:28:19 +01:00
Thomas Adamcik
d9d501cd98
audio: Update scanner to just return tags+duration
...
The caller should know what URI we are talking about. Additionally finding the
mtime is never belonged in this class and has been moved out.
2014-12-18 23:28:19 +01:00
Thomas Adamcik
dcaa0f6732
local: Move musicbrainz cover art helper to translator
2014-12-18 23:28:14 +01:00
Thomas Amland
dfd897832a
[local] fix modified files not being updated
2014-12-11 14:41:37 +01:00
Stein Magnus Jodal
4f428b8601
py3: Move compat module out of utils
2014-12-07 21:36:15 +01:00
Stein Magnus Jodal
e35a066d5e
py3: Use explicit float or integer division
2014-12-07 20:25:51 +01:00
Stein Magnus Jodal
7124226fc7
py3: Use renamed function via compat
2014-12-07 20:19:01 +01:00
Stein Magnus Jodal
496142c201
py3: Use absolute imports by default
2014-12-07 20:17:10 +01:00
Thomas Adamcik
b9a7a9d2b6
local: Add follow symlinks setting
2014-10-17 20:08:33 +02:00
Thomas Adamcik
d4f47a34c2
local: Move Hidden file/directory check to excluded extensions check
2014-10-17 16:52:01 +02:00
Thomas Adamcik
5bf6b779ac
local: Add basic logging of scan errors
2014-10-15 23:56:59 +02:00
Thomas Adamcik
3dc0a06ffe
local: Fix skipping of hidden file/directories
2014-10-15 23:54:52 +02:00
Thomas Adamcik
54a89038d3
utils/path: Don't skip hidden files and folders in generic find code
...
Updates the local scan code to do this instead.
2014-10-15 23:45:49 +02:00
Thomas Adamcik
2447e2fa40
util/path: Expose errors to callers of find helper
2014-10-15 23:42:12 +02:00
Ignasi Fosch
e9289ca554
Checks for musicbrainz album ID and sets images to a list containing the corresponding URL
2014-07-27 16:34:28 +02:00
Stein Magnus Jodal
b754885064
Fix all import order warnings
2014-05-07 20:08:43 +02:00
Thomas Adamcik
7386dd30b6
utils: Remove old find_files
2014-02-26 23:53:12 +01:00
Thomas Adamcik
78f727b9be
local: Update how scanner work is done to improve remote FS support.
...
This changes the scanner to prefetch all the files+mtimes using our new
threaded finder. Hopefully making scanning against remote filesystems
somewhat less painful.
2014-02-26 23:31:11 +01:00
Stein Magnus Jodal
d0a305a8e2
local: Use print() function
2014-02-07 20:33:34 +01:00
Stein Magnus Jodal
884c1b9803
local: Fix typo
2014-02-07 20:32:19 +01:00
Thomas Adamcik
812f018d59
local: Make clear command mesages more clear
2014-02-07 20:14:53 +01:00
Thomas Adamcik
316a1bf20f
local: Ensure logging does not divide by zero in scanner.
2014-01-18 01:31:44 +01:00
Stein Magnus Jodal
2731d23578
local: Move mopidy.{backends => }.local
2014-01-11 15:17:05 +01:00