Tobias Sauerwein
0a32d89bab
Add test case for scanning empty wav files.
2013-08-06 17:32:53 +02:00
Tobias Sauerwein
3c6a0543f5
Scanner: Fix deadlock on incorrectly identified files
2013-07-31 23:52:24 +02:00
Tobias Sauerwein
d1051e4f18
Removed unnecessary whitespaces.
2013-07-26 12:30:02 +02:00
Tobias Sauerwein
a372df8333
Scanner: Add disc number to album and track models ( fixes #318 )
2013-07-26 12:20:29 +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
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
41d7ae9a2c
Replace 'folder' with 'dir'
2013-04-08 21:13:59 +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
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
7f2e2a8faa
scanner: Test invalid date
2012-12-02 15:48:02 +01:00
Stein Magnus Jodal
3473b9c902
scanner: Update test case
2012-12-02 15:45:54 +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
ac60bcdf8e
Fix all flake8 warnings in tests ( #211 )
2012-10-16 14:43:31 +02:00
Thomas Adamcik
1985b4af76
Switch all tests over to from tests import unittest, which will be unittest2 on < 2.7 and plain unittest otherwise
2011-07-31 22:21:34 +02:00
Thomas Adamcik
89104bd326
Add skipped test case for date missing in scanner tests
2011-06-04 01:52:11 +02:00
Thomas Adamcik
f091433a53
Cleanup error feedback
2011-06-04 01:51:44 +02:00
Stein Magnus Jodal
79771d6e2c
Rename data_folder() to path_to_data_dir()
2011-04-07 15:55:03 +02: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
8a4dc1033b
Add album-artist support to translator
2010-10-30 20:38:33 +02:00
Thomas Adamcik
52ab538fc4
Minor test cleanup
2010-10-30 20:38:20 +02:00
Thomas Adamcik
ab97f78060
Test all optional translator values
2010-10-28 01:12:20 +02:00
Thomas Adamcik
766c447c71
Refactor translator test
2010-10-28 01:04:18 +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
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
045a5a58c5
Move uri to scanner data
2010-10-26 23:41:12 +02:00
Thomas Adamcik
7e02617422
Move test data in translator test
2010-10-26 23:34:10 +02:00
Thomas Adamcik
9098f3104c
Rename scanner test filename
2010-10-26 23:14:08 +02:00