Commit Graph

1664 Commits

Author SHA1 Message Date
Thomas Adamcik
d2d8e4c090 Use expanduser for find_files 2010-10-30 00:45:08 +02:00
Thomas Adamcik
96d4633306 Ensure that key does not have uri encoded strings 2010-10-30 00:40:01 +02:00
Thomas Adamcik
ca95a510c9 Ensure that mtime is included 2010-10-30 00:37:42 +02:00
Thomas Adamcik
7559426c50 Add test for files in multiple directories 2010-10-29 23:56:01 +02:00
Thomas Adamcik
93eda1c81e Extra test for multiple top level files 2010-10-29 23:46:40 +02:00
Thomas Adamcik
6b99416830 Add test for sub sub dirs in tag cache generator 2010-10-29 23:43:49 +02:00
Thomas Adamcik
94db967672 Tag cache seems to support directories now 2010-10-29 23:26:05 +02:00
Thomas Adamcik
1a6831ab68 Add tracks_to_directory_tree helper 2010-10-29 23:06:58 +02:00
Thomas Adamcik
a48e881040 Add split path util 2010-10-29 22:55:42 +02:00
Thomas Adamcik
059ad2d4c9 Update track_to_mpd_format docstring with new parameters 2010-10-29 22:20:19 +02:00
Thomas Adamcik
8d1339ef7f Add option to get mtime set in translator 2010-10-29 22:18:35 +02:00
Thomas Adamcik
d785b9b14e Added uri_to_path with tests 2010-10-29 22:16:33 +02:00
Thomas Adamcik
21eadf3dc7 Refactor tag_cache generation tests 2010-10-29 21:56:20 +02:00
Thomas Adamcik
a8a447c47f Use key=True for track_to_mpd_format generation 2010-10-29 21:36:11 +02:00
Thomas Adamcik
b2cb3136b2 Rename tests 2010-10-29 21:27:40 +02:00
Thomas Adamcik
488ac28431 Add key parameter to track_to_mpd_format 2010-10-29 21:25:02 +02:00
Thomas Adamcik
151b1c3b4e Add explicit tests for position and cpid in track_to_mpd_format 2010-10-29 21:23:15 +02:00
Thomas Adamcik
cf516c5ef0 Ensure that mpd_format_track handles file: properly 2010-10-29 21:17:08 +02:00
Thomas Adamcik
014e29ffa2 Fix uri_to_mpd_relative_path so that it handles None 2010-10-29 21:15:32 +02:00
Thomas Adamcik
8240dbbb55 Add docstrings 2010-10-29 20:36:38 +02:00
Thomas Adamcik
44012b30b0 Add uri_to_mpd_relative_path 2010-10-29 20:33:13 +02:00
Thomas Adamcik
02df8ca033 Start writting tracks_to_tag_cache_format 2010-10-29 20:04:53 +02:00
Thomas Adamcik
3e595213ac Ensure that result has exact right number of elements 2010-10-29 19:34: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
766c447c71 Refactor translator test 2010-10-28 01:04:18 +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
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
Thomas Adamcik
b76ae84af2 Add basic scanner translator and test 2010-10-26 23:13:45 +02:00
Thomas Adamcik
1551723dd7 Merge branch 'develop' into feature/file-scanner 2010-10-26 22:22:06 +02:00
Thomas Adamcik
0371698706 Merge branch 'develop' of http://github.com/jodal/mopidy into develop 2010-10-26 22:21:06 +02:00
Thomas Adamcik
71e2f2c43a Add mpd generated sample tag caches 2010-10-26 21:51:22 +02:00
Thomas Adamcik
8b963311e1 Update scanner test 2010-10-26 21:38:46 +02:00
Thomas Adamcik
23881e1b1d Add basic test structure for scanner testing 2010-10-26 21:33:12 +02:00
Thomas Adamcik
02bfad2fe4 Add basic tests for scanner 2010-10-26 00:13:50 +02:00
Thomas Adamcik
efc60a943b Update find files behaviour and add test for it 2010-10-26 00:08:51 +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
Thomas Adamcik
10cf68a103 Add basic detection of errors in scanner 2010-10-25 23:38:26 +02:00
Thomas Adamcik
14ecce6c6b Scanner takes folder instead of files 2010-10-25 23:31:55 +02:00
Thomas Adamcik
b455b54577 Add helper for finding files in folder 2010-10-25 23:31:40 +02:00