Commit graph

6572 commits

Author SHA1 Message Date
multikatt
17e81b6d6c strip newlines from lines 2015-05-14 20:18:28 -04:00
multikatt
7927cb5f47 remove unused variable 2015-05-14 19:34:15 -04:00
multikatt
b3011fed6e Only publish albums/items added to ipfs 2015-05-14 19:05:22 -04:00
multikatt
835e58fa16 Add right files when adding folders with[...]
non music files.
2015-05-14 18:34:23 -04:00
Adrian Sampson
d6348a4da2 tests: Use bytes for mock responses
Also, require a newer version of responses that is less sensitive to this.
2015-05-13 18:09:35 -07:00
Adrian Sampson
71d7c0b004 Merge pull request #1450 from tomjaspers/metasync-itunes
MetaSync: more OO structure +  iTunes support
2015-05-13 15:04:36 -07:00
Tom Jaspers
94edc7a2a4 MetaSync: minor improvements for iTunes source
- Use path as an key to find items (over artist/title/album tuples)
- Sensible default library location
2015-05-13 20:02:34 +02:00
Tom Jaspers
02bec1bdd7 MetaSync: Remove auto-discovery of sources
In favor of simpler, hard-coded, list of sources, to avoid unneccesary magic.

Also: check to see if query has results before instantiating the meta sources
2015-05-13 11:01:52 +02:00
Adrian Sampson
dff4feaec2 embedart: Preempt wrong-type error in AAC files 2015-05-11 17:46:21 -07:00
multikatt
56d671745c Add support for importing remote libraries 2015-05-11 16:51:00 -04:00
multikatt
7be8765ee3 pep8 2015-05-11 15:59:23 -04:00
multikatt
da344c84fd Support for publishing library 2015-05-11 15:58:50 -04:00
multikatt
db641dccf2 Change print to self._log 2015-05-11 15:56:12 -04:00
multikatt
a3990e0b62 remove non empty directories 2015-05-11 15:33:45 -04:00
multikatt
b08ccb5d37 saving ipfs hashes in database 2015-05-11 15:27:03 -04:00
David
36bf49aa8d typo: thumnails -> thumbnails 2015-05-11 14:26:49 -04:00
Tom Jaspers
16531b6cf8 MetaSync: fix tests for Windows 2015-05-11 17:42:52 +02:00
Tom Jaspers
7fb1914baf Merge pull request #1456 from GuilhermeHideki/patch-1
Some typos fixes
2015-05-10 22:31:35 +02:00
Guilherme Danno
403f7e1ba5 Typo: afinity → affinity 2015-05-10 16:02:23 -03:00
Guilherme Danno
e789b3b94c Typo: conveniencies → conveniences 2015-05-10 15:59:35 -03:00
Guilherme Danno
9b85f88928 Typo: Strucuture / descritpion / arguemnt
Strucuture → Structure
descritpion → description
arguemnt → argument
2015-05-10 15:54:41 -03:00
Guilherme Danno
dc809e3be6 Typo: exectuted → executed 2015-05-10 15:48:08 -03:00
Guilherme Danno
d57317f2fc Typo: formated → formatted 2015-05-10 15:45:12 -03:00
Guilherme Danno
5456704c26 Typo: beetween / wirte / Paramaterize
beetween → between
wirte → write
Paramaterize → Parametrize
2015-05-10 15:41:36 -03:00
Guilherme Danno
06ecea8e7a Typo: qualitiy → quality 2015-05-10 15:35:42 -03:00
Tom Jaspers
afeedd2e70 MetaSync: basic tests
No tests for Amarok, unfortunately
2015-05-10 14:46:59 +02:00
Tom Jaspers
abd02052b9 MetaSync: small refactoring + enhancements
- `sync_data` -> `sync_from_source`
- properly catch ConfigValueError
- avoiding iterating through library if we couldn't instantiate any meta sources
- fix create_temporary_copy to actually make a tempdir
2015-05-10 14:44:37 +02:00
Tom Jaspers
bba8647bac MetaSync: rename 'cls' variable to '_cls' 2015-05-09 12:22:51 +02:00
Tom Jaspers
cb13d21ad6 MetaSync: automatic load of sources and item_types
- MetaSources get loaded from the modules automatically
- The MetaSources can define their own item_types, that get loaded for the plugin
- __init__ doesn't need any changes to accept new metasources
- Fix the --sources option to actually accept sources
  (it was being interpreted as boolean flag before, crashing the plugin)
- More safety w.r.t. external dependencies
2015-05-09 11:31:39 +02:00
Tom Jaspers
de5db7068b MetaSync: sources need to subclass MetaSource
- allows for the logging to integrate better
- renamed `get_data` to `sync_data`, to better reflect that its not returning anything,
  but that the item's data is being set by the function
2015-05-08 16:48:38 +02:00
Tom Jaspers
27aef76ae5 MetaSync: update changelog & fix typo in doc 2015-05-08 16:43:02 +02:00
Lucas Duailibe
f497bf849b Merge pull request #1451 from duailibe/path-sort
Fix sort by path when case insenstive (fix #1451)
2015-05-07 23:47:06 -03:00
Lucas Duailibe
df89a68a99 Fixing sort by path (fix #1451) 2015-05-07 23:45:26 -03:00
Tom Jaspers
04d7c883d1 MetaSync: docs for itunes synchronization
changelog & metasync plugin documentation
2015-05-07 10:28:41 +02:00
Adrian Sampson
c856326865 Fix #1449: Unicode paths in permissions 2015-05-06 22:23:18 -07:00
Tom Jaspers
3dc2beda41 MetaSync: add iTunes synchronization
Uses plistlib to read a temp copy of `iTunes Library.xml`
2015-05-06 22:01:00 +02:00
Tom Jaspers
c108447bb4 Changelog for #1448 (PIL import fix) 2015-05-04 08:30:38 +02:00
Tom Jaspers
f4ae1d5ae7 __import__ requires string when importing PIL
Fix #1448
2015-05-03 17:21:15 +02:00
Adrian Sampson
076e77711f Changelog for #1443 2015-04-29 14:53:57 -07:00
Adrian Sampson
494d32833f Merge pull request #1443 from CodyReichert/master
MPDStats Plugin: handle update_rating when item is None / start tests for mpdstats
2015-04-29 14:53:01 -07:00
Cody Reichert
b776a71a8c handle mpdstats update_rating when item is None / add appropriate tests 2015-04-28 23:23:27 -05:00
Adrian Sampson
631e097d48 AppVeyor: pip is pre-installed
See: http://www.appveyor.com/updates/2015/04/25
2015-04-26 13:12:27 -07:00
Adrian Sampson
274865147c Version bump for dev: 1.3.14 2015-04-24 08:56:17 -07:00
Adrian Sampson
9f2d58e47a release.py: push the commits too 2015-04-24 08:55:23 -07:00
Adrian Sampson
a8fce9be69 Finalize 1.3.13 changelog 2015-04-24 08:54:04 -07:00
Adrian Sampson
ba87ea1f30 Skip symlink tests on Windows
... where there is no symlinking.
2015-04-23 17:43:15 -07:00
Adrian Sampson
0e3f6cb09d Provide Unicode to Jellyfish 0.5.0
The new version requires arguments are Unicode. We were providing ASCII byte
strings, produced by Unidecode. We now re-decode this back to Unicode before
passing to the Levenshtein function.
2015-04-23 15:25:47 -07:00
Adrian Sampson
99d19f85d1 Merge pull request #1436 from reynhout/fix_duplicated_assertion_in_autotag_test_reynhout
Fix autotag test: duplicated assertion
2015-04-23 15:15:30 -07:00
Adrian Sampson
fbf40c6f62 Slightly expand changelog for #1436 2015-04-23 15:12:15 -07:00
Adrian Sampson
19542df187 Merge pull request #1435 from reynhout/fix_1427_embedart_write_config_reynhout
Fix #1427: embedart plugin should observe write config
2015-04-23 15:10:37 -07:00