Commit Graph

52 Commits

Author SHA1 Message Date
Thomas Kemmer
22690ee5a9 m3u: Derive track name from file name for non-extended M3U playlists. 2015-12-23 18:14:19 +01:00
Stein Magnus Jodal
e0a028291a local: Replace local/data_dir with core/data_dir
Partly fixes #1259
2015-08-23 00:37:38 +02:00
Thomas Adamcik
e77a4afaf4 audio: Make scanner report MIME for missing plugins 2015-08-18 23:56:42 +02:00
Thomas Adamcik
9b1d20677d tests: Cleanup find tests to use tempfile all over.
This should make it more clear what structure we expect.
2014-10-15 23:45:27 +02:00
Thomas Adamcik
69fa6f4674 tests: Test symlink that points to it's own parent. 2014-10-15 23:45:22 +02:00
Thomas Adamcik
b2419f9814 tests: Add test case for a symlink pointing at itself 2014-10-15 23:45:03 +02:00
Thomas Adamcik
de5fe5ebab tests: Add test for current find symlink handling 2014-10-15 23:43:13 +02:00
Trygve Aaberge
584484379a config: Only load .conf-files when loading directories 2014-08-11 16:21:34 +02:00
Trygve Aaberge
9e41eff187 config: Support passing directories to mopidy --config 2014-08-11 14:48:04 +02:00
Stein Magnus Jodal
06856851f7 local: Make search filters more robust (fixes #635) 2014-01-17 23:43:43 +01:00
Thomas Kemmer
18c44e0d8a add translator tests for EXTM3U files 2013-12-09 15:54:28 +01:00
Thomas Kemmer
b6ee1707d3 add translator tests for EXTM3U files 2013-12-09 15:52:46 +01:00
Thomas Adamcik
9c2d38e989 local: Remove tag cache support
- Updates doc references to tag cache
- Removes tag cache from config and marks it deprecated
- Removes tag cache from setup.py
- Removes tag cache from config converter
- Removes tag cache from tests
- Converts local library tests to use JSON.
2013-12-04 22:38:16 +01:00
Thomas Adamcik
603b57ef3c utils: Remove find_uris and update find_files
- find_uris is no more
- find_files now returns file paths relative to path being searched
- find_files now only works on directories
- find_files tests have been updated to reflect changes
- local scanner has gotten a minimal update to reflect this alteration
2013-11-27 22:50:35 +01:00
Lasse Bigum
f5e94d8f7c Address review comments 2013-11-13 00:40:47 +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
Lasse Bigum
f90f5f608e Fix testcases after merging mopidy/develop 2013-11-02 23:44:33 +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
Lasse Bigum
24944bd8e3 Split artist and albumartist dependency, update tests based on this 2013-11-02 22:13:54 +01:00
Lasse Bigum
df1820f0a7 Add genre, composer, and performer tags and use them 2013-11-02 02:29:37 +01:00
Lasse Bigum
1975694d08 Changed track to track_no, fix code, add tests
Added testcases for track and count
2013-10-20 23:04:48 +02:00
Thomas Adamcik
025bafc114 local/core: Update random tests to be more predictable
- Replace setting the random seed with mocking out shuffle with reverse. This
  makes tests easier to reason about while still being able to test correct
  behaviour.
- Increases number of tracks to four to avoid test passing due to symetry in
  plain and reversed lists.
- Made test_eot_track_with_random_after_append_playlist actually test eot and
  not next.
- Found a test failure in handling of test_random_until_end_of_playlist, fix in
  next commit.
2013-10-20 18:39:07 +02:00
Stein Magnus Jodal
ccbae310c6 local: Add albumartist support to search/find_exact 2013-10-12 00:16:20 +02:00
Tobias Sauerwein
0a32d89bab Add test case for scanning empty wav files. 2013-08-06 17:32:53 +02:00
Stein Magnus Jodal
80d122ff92 Merge branch 'develop' of github.com:mopidy/mopidy into develop
Conflicts:
	docs/changelog.rst
2013-08-05 23:33:08 +02:00
Tobias Sauerwein
3c6a0543f5 Scanner: Fix deadlock on incorrectly identified files 2013-07-31 23:52:24 +02:00
Thomas Adamcik
18ed7c6279 local: Convert mopidy-local extension to local: uris.
- Use local:playlist:<name>, local:track:<path> and local:search uris
- Adds LocalPlaybackProvider which translates to file uris.
- Switches to storing actual uris in playlists - so local: urls and not
  file:// or plain paths.
- Moved file:// to streaming plugin
- Cleaned up tests and imports for these changes.
2013-07-30 00:40:12 +02:00
Thomas Adacmik
9fab339941 config: Add preliminary handling of parse errors 2013-04-28 00:25:28 +02:00
Thomas Adacmik
c5b036f988 config: Add test config with non-ascii 2013-04-28 00:05:36 +02:00
Thomas Adamcik
51afbe19e1 config: Start adding basic data loading test 2013-04-13 00:47:50 +02:00
Zan Dobersek
b2657566f4 Update the song1.ogg file
Provide the Ogg file that matches the MP3 file (i.e. the file from which it was
converted) in duration, specifically 4680 milliseconds.
(cherry picked from commit e42c359821c410f10251ead492659a1f9563d2d7)
2013-03-30 01:55:53 +01:00
Zan Dobersek
7c115076b0 Add test coverage for scanning of Ogg files
Provide a song1.ogg audio file, converted from the tests/data/scanner/simple/song1.mp3
file, and perform the same test checks on its scanned data that are performed for
song1.mp3. The expected results are the same except for a small difference in the
reported duration.
(cherry picked from commit 61aa28f8a562f0b0722e2b3414677da82588fdb8)
2013-03-30 01:55:33 +01:00
Stein Magnus Jodal
02c8ea53d7 local: Add search-by-date support 2012-12-20 21:30:09 +01:00
Thomas Adamcik
7ceb530064 Updated find files to ignore hidden files and folders. 2012-09-16 18:14:11 +02:00
Stein Magnus Jodal
2a3b6f2133 Replace symlinks with real files (fixes #68) 2011-04-11 22:47:49 +02:00
Thomas Adamcik
9cc053cfd2 Add albumartist to musicbrainz test 2010-11-02 20:20:01 +01:00
Thomas Adamcik
6cba4bc564 Add albumartist support 2010-11-02 20:19:29 +01:00
Thomas Adamcik
89b46af983 Add musicbrainz_tag_cache that was missing 2010-11-02 17:43:32 +01:00
Thomas Adamcik
d4437d5adc Decode all data from tag_cache as utf-8 2010-11-01 23:06:45 +01:00
Stein Magnus Jodal
5dc35eaad4 Fix broken symlinks 2010-10-31 02:50:53 +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
71e2f2c43a Add mpd generated sample tag caches 2010-10-26 21:51:22 +02:00
Thomas Adamcik
23881e1b1d Add basic test structure for scanner testing 2010-10-26 21:33:12 +02:00
Thomas Adamcik
21123e3cd9 Allow scanner to stop nicely when it runs out of files 2010-10-25 23:18:41 +02:00
Stein Magnus Jodal
4bea82c2f1 Shrink audio test data 2010-08-14 19:03:37 +02:00
Thomas Adamcik
c66c63c671 Forgot to add library tag cache 2010-04-30 20:59:51 +02:00
Thomas Adamcik
b84c9e3eff Add test for minimal 'blank' tag_cache 2010-04-30 19:51:49 +02:00
Thomas Adamcik
837f35ef36 Add advanced tag cache test 2010-04-28 22:31:08 +02:00
Thomas Adamcik
f36f64c6ca Add basic mpd tag cache parser and tests 2010-04-28 22:02:01 +02:00
Thomas Adamcik
ce3d23f8cc Add m3u tests 2010-04-26 22:29:21 +02:00