Commit Graph

4663 Commits

Author SHA1 Message Date
Lasse Bigum
2bd1f043ce Updated code with new multiple artist handling and added tests 2013-11-09 03:01:53 +01:00
Lasse Bigum
8b7621c3e3 Merge branch 'develop' of https://github.com/mopidy/mopidy into feature/extra_tags 2013-11-09 02:37:44 +01:00
Thomas Adamcik
51d1e22655 docs: Update changelog for PR #566 and #567 2013-11-08 23:51:45 +01:00
Stein Magnus Jodal
e608f9f213 Merge pull request #567 from adamcik/feature/local-uri-translation
local/scanner: Make checking mtime and skipping known files work again
2013-11-07 15:00:17 -08:00
Thomas Adamcik
93918cb1e0 local: flake8 fixes 2013-11-07 23:25:55 +01:00
Stein Magnus Jodal
5b78ff94ff docs: Remove count from MPD limitations list 2013-11-07 19:33:46 +01:00
Thomas Adamcik
e7dd7e2677 local/scanner: Make checking mtime and skipping known files work again
This change just patches over the worst of the inconsistencies in how the
scanner mixes local and file uris to get us to a working state again. Ideally,
this still needs a real cleanup when we finish the plugable library providers
and/or json library work.
2013-11-07 00:03:00 +01:00
Thomas Adamcik
f8dedc0b84 local: Add local_to_file_uri translator 2013-11-06 21:46:41 +01:00
Stein Magnus Jodal
71eff1bf45 Merge pull request #566 from adamcik/feature/scanner
Switch back to custom scanner
2013-11-06 12:31:02 -08:00
Thomas Adamcik
86926e8011 scanner: Remove unused argument for progress helper. 2013-11-06 21:14:11 +01:00
Thomas Adamcik
dc3cf427b6 scanner/mpd: Add TODOs for later and fix flake8 warning 2013-11-06 19:19:17 +01:00
Thomas Adamcik
e6381a1a0a audio: Add mtime to scanner results for file: uris 2013-11-06 19:10:49 +01:00
Thomas Adamcik
469f414c4c audio: Don't do duration conversion to ms in scanner 2013-11-06 19:10:49 +01:00
Thomas Adamcik
16ac5277f6 audio: Make min duration in scanner configurable. 2013-11-06 19:10:49 +01:00
Thomas Adamcik
20b0602842 audio/scanner: Move translator into audio.
Tries to move more of the gst bits and pieces we are leaking into audio.
2013-11-06 19:10:49 +01:00
Thomas Adamcik
4cadba0ac7 scanner: Add progress tracking and process sorted uris 2013-11-06 19:10:49 +01:00
Thomas Adamcik
0a2d74eff1 scanner: Update to use new mopidy.audio.scan
Also adds the check less than 100ms check back to the scanner.
2013-11-06 19:10:49 +01:00
Thomas Adamcik
d6ab78a86c audio: Re-add improved version of python based scanner.
- Unlike the old python version we do not wait for the first audio handoff, we
  only progress until the PAUSED state. This ensure we don't block on empty files.
- Instead of using the signal watch and running the main loop we simply poll
  the messages from the bus directly allowing for a synchronous code flow.
- Between each file the pipeline is always returned to NULL, this is done as we
  found that gst 0.10 will slow down as the uribin does not cleanup the
  children it creates for handling each file. This issue is not present in 1.0.
- This also works around a segfault that was likely caused by a race condition
  that seems to trigger in the 0.10 version of the pbutils discoverer.
- This version of the scanner also fixes the per track slow down, and works out
  to be considerably faster than even the built in discoverer from 1.0.
- Finally this removes the WMA hack as I kan no longer find any evidence of it
  being needed.
2013-11-06 19:10:49 +01:00
Lasse Bigum
af6225538d Add more tests 2013-11-05 23:17:15 +01:00
Stein Magnus Jodal
0ab1aacbc5 docs: Remove redundant Read The Docs config 2013-11-04 23:36:02 +01:00
Stein Magnus Jodal
4b920e66d4 docs: Add refs to fixed issues 2013-11-03 12:24:56 +01:00
Lasse Bigum
9d7db4cf4f Add frontend MPD tests for 'search comment "foo"' 2013-11-03 01:52:34 +01:00
Lasse Bigum
862b7019e0 Add missing regexp 2013-11-03 01:42:42 +01:00
Lasse Bigum
a516d2051d Added a ton of extra tests and expanded a few to include new tags 2013-11-03 01:01:42 +01:00
Stein Magnus Jodal
bbe7a467cd Merge branch 'master' into develop
Conflicts:
	docs/changelog.rst
2013-11-02 23:47:22 +01:00
Lasse Bigum
f90f5f608e Fix testcases after merging mopidy/develop 2013-11-02 23:44:33 +01:00
Stein Magnus Jodal
578eed99ce Release v0.16.1 2013-11-02 23:44:28 +01:00
Stein Magnus Jodal
80a112c316 docs: Update changelog for v0.16.1 2013-11-02 23:44:02 +01:00
Stein Magnus Jodal
8e343e1a40 Set version to 0.16.1 2013-11-02 23:41:53 +01:00
Lasse Bigum
e12a75c880 Merge branch 'develop' of https://github.com/mopidy/mopidy into feature/extra_tags 2013-11-02 23:39:19 +01:00
Stein Magnus Jodal
640337bc68 docs: Update changelog 2013-11-02 22:38:20 +01:00
Stein Magnus Jodal
8a61ff0265 Merge branch 'rename_track' into develop 2013-11-02 22:37:38 +01:00
Lasse Bigum
7339d4839c Update filter name to match track_name change 2013-11-02 22:34:54 +01:00
Lasse Bigum
9593da08b6 Rename track in MPD to track_name to avoid confusion 2013-11-02 22:34:26 +01:00
Stein Magnus Jodal
a44b7c06a5 docs: Update changelog 2013-11-02 22:20:02 +01:00
Stein Magnus Jodal
bc6123a981 Merge branch 'split_albumartist_artist' into develop 2013-11-02 22:18:47 +01:00
Stein Magnus Jodal
838f584e2b local: Formatting 2013-11-02 22:18:37 +01:00
Stein Magnus Jodal
b0d43444c2 local: Remove debug logging in tests 2013-11-02 22:18:26 +01:00
Lasse Bigum
f295cbd3cb Fix flake8 issues 2013-11-02 22:14:25 +01:00
Lasse Bigum
24944bd8e3 Split artist and albumartist dependency, update tests based on this 2013-11-02 22:13:54 +01:00
Stein Magnus Jodal
51ffcb8609 docs: Update changelog 2013-11-02 22:07:03 +01:00
Stein Magnus Jodal
f2384252a2 travis: Ignore <python:all> in apt-cache output 2013-11-02 22:05:27 +01:00
Stein Magnus Jodal
463978e246 Merge branch 'feature/list_albumartist' into develop 2013-11-02 22:02:37 +01:00
Stein Magnus Jodal
0df84b85d0 mpd: Check if track.album exists before using it 2013-11-02 22:00:35 +01:00
Lasse Bigum
86f18935fe Fix flake8 errors and add a few more tests 2013-11-02 21:57:53 +01:00
Lasse Bigum
fd213f2d78 Add tests for albumartist 2013-11-02 21:57:53 +01:00
Lasse Bigum
7c414d4abc Support 'list albumartist' 2013-11-02 21:57:53 +01:00
Stein Magnus Jodal
88933fa96d Merge branch 'fix_track_no' into develop 2013-11-02 21:55:12 +01:00
Lasse Bigum
e7746dac1b Remove debug, make track_no more robust 2013-11-02 21:54:46 +01:00
Lasse Bigum
efc9fc75b5 Fix track_no 2013-11-02 21:49:44 +01:00