Commit Graph

56 Commits

Author SHA1 Message Date
Stein Magnus Jodal
41d7ae9a2c Replace 'folder' with 'dir' 2013-04-08 21:13:59 +02:00
Stein Magnus Jodal
3339b79c1e local: Rename 'music_path' to 'music_dir', 'playlist_path' to 'playlists_dir' 2013-04-08 20:58:17 +02:00
Stein Magnus Jodal
a5d81b86c0 scanner: Use new config 2013-04-07 20:11:12 +02:00
Stein Magnus Jodal
c452f0115a mpd: Use new config system 2013-04-05 17:18:12 +02:00
Zan Dobersek
129894c01e Clean up gst.Caps initialization
There's no need for appending every audio/x-raw-* structure to the gst.Caps
individually, they can all be listed inline inside the gst.Caps initialization.
(cherry picked from commit 13f0bfffe17c07ddbc3a8e5fc1e29c0015502392)
2013-03-30 01:56:07 +01:00
Zan Dobersek
228f9bbf6b Scanner doesn't work with Ogg Vorbis files
Enhance the caps for the uridecodebin element by appending to them structures covering
both audio/x-raw-int and audio/x-raw-float formats.
(cherry picked from commit bc33fce7b1e30745a4d2fc7e96e1a3c2640cc40e)
2013-03-30 01:55:22 +01:00
Stein Magnus Jodal
358de3b088 Fix more unicode kwargs dict keys (#302) 2013-01-06 20:48:38 +01:00
Stein Magnus Jodal
ef3d5e92ce scanner: Fix optparse on early 2.6 (#302) 2013-01-03 13:14:21 +01:00
Stein Magnus Jodal
5ff8ea451f More **kwargs key fixing (#302) 2013-01-03 12:58:08 +01:00
Stein Magnus Jodal
d34ba24cfe Use bytestrings for the keys of **kwargs dicts
Python < 2.6.5rc1 does not work with unicode keys. Fixes #302.
2013-01-03 10:04:05 +01:00
Stein Magnus Jodal
3d86610dfe scanner: Better info logging 2012-12-12 12:22:53 +01:00
Stein Magnus Jodal
cdda3bc5dd scanner: Add -q and -v options for controlling log output 2012-12-11 11:00:42 +01:00
Stein Magnus Jodal
4889d2a928 scanner: Ignore invalid dates 2012-12-02 15:44:09 +01:00
Stein Magnus Jodal
bcaeca7acc scanner: Support multiple tag sets per track (fixes #236) 2012-11-14 22:51:12 +01:00
Stein Magnus Jodal
8a292bce58 scanner: Move main() function from bin/ to mopidy.scanner 2012-11-14 20:45:24 +01:00
Stein Magnus Jodal
6acaa490e9 Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
Stein Magnus Jodal
666800ec57 Fix most flake8 warnings (#211) 2012-10-16 14:00:34 +02:00
Thomas Adamcik
c2e1b0d672 Use find_files() as an iterator in scanner. 2012-09-16 18:17:28 +02:00
Thomas Adamcik
06bee1cd21 Typo fix 2011-06-09 13:55:15 +02:00
Thomas Adamcik
eba5cff9d1 Work around strange wma issue in scanner 2011-06-04 02:21:42 +02:00
Thomas Adamcik
f091433a53 Cleanup error feedback 2011-06-04 01:51:44 +02:00
Thomas Adamcik
503c98b98e Cleanup of gst code for scanner 2011-06-04 01:29:28 +02:00
Thomas Adamcik
e25fbb35dc Note why get_state is needed 2011-06-04 00:14:17 +02:00
Thomas Adamcik
48d7cd9865 Use TAG_DURATION constant instead of 'duration' 2011-06-04 00:14:04 +02:00
Thomas Adamcik
b6c196b8ab Ensure that date is not none before using it 2011-06-04 00:13:40 +02:00
Thomas Adamcik
acad477c8a Make it possible to stop scanner more cleanly 2011-06-02 18:41:43 +02:00
Thomas Adamcik
10e1f2abab Switch to using gst.TAG_* in scanner 2011-05-08 19:53:09 +02:00
Stein Magnus Jodal
2941c83bb8 Merge remote branch 'adamcik/feature/musicbrainz-id-support' into develop 2010-11-03 00:08:32 +01:00
Stein Magnus Jodal
6a8998a5c3 Fix pylint warnings 2010-11-02 23:42:02 +01:00
Thomas Adamcik
90fbf69b85 Add albumartistid to scanner 2010-11-02 01:00:00 +01:00
Thomas Adamcik
988ff66c5e Add musicbrainz support to scanner translator 2010-11-02 00:36:01 +01:00
Thomas Adamcik
3b7904b826 Add FIXME to data translator for scanner 2010-11-02 00:36:01 +01:00
Thomas Adamcik
fe309d374e Get rid of all kinds of abspath and expandpath usage that is no longer needed 2010-11-01 00:37:55 +01:00
Thomas Adamcik
7767dd1ae4 Better unicode handling for scan code 2010-10-30 23:35:04 +02:00
Thomas Adamcik
8a4dc1033b Add album-artist support to translator 2010-10-30 20:38:33 +02:00
Thomas Adamcik
9cb9cf3e0c Clean start scanner code a tiny bit 2010-10-28 01:28:41 +02:00
Thomas Adamcik
ab97f78060 Test all optional translator values 2010-10-28 01:12:20 +02:00
Thomas Adamcik
81da02187f Start refactoring translator 2010-10-28 01:04:02 +02:00
Thomas Adamcik
d9d393ac21 Ensure that scanner does not die on non-existant folders 2010-10-28 00:47:18 +02:00
Thomas Adamcik
2ebaa38ed9 Add other media test and set caps to limit to audio for scanner 2010-10-28 00:40:38 +02:00
Thomas Adamcik
c247e1455b Ensure that state is null on exit 2010-10-28 00:03:14 +02:00
Thomas Adamcik
3178ef4626 Move get_state to duration call to fix intermittent errors 2010-10-28 00:02:51 +02:00
Thomas Adamcik
889b8fdb43 Add length to scanner translator 2010-10-27 00:17:03 +02:00
Thomas Adamcik
79887c1988 Add duration to scanner data 2010-10-27 00:15:26 +02:00
Thomas Adamcik
d6516915e5 Setup proper pipeline for handling of files in scanner 2010-10-27 00:15:08 +02:00
Thomas Adamcik
045a5a58c5 Move uri to scanner data 2010-10-26 23:41:12 +02:00
Thomas Adamcik
b76ae84af2 Add basic scanner translator and test 2010-10-26 23:13:45 +02:00
Thomas Adamcik
02bfad2fe4 Add basic tests for scanner 2010-10-26 00:13:50 +02:00
Thomas Adamcik
7fdc01b99e Move initial next_uri call to start method 2010-10-25 23:50:01 +02:00
Thomas Adamcik
e8a1d1b49d Add error callback and switch to using uridecodebin 2010-10-25 23:47:12 +02:00