sync_songs 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.org +2 -0
- data/lib/sync_songs/version.rb +1 -1
- data/services.org +17 -0
- metadata +2 -1
data/README.org
CHANGED
@@ -8,6 +8,7 @@ Currently sync_songs supports the following services:
|
|
8
8
|
- csv (on the form =name, artist, album, duration, id= where only the first two fields are required)
|
9
9
|
- Grooveshark
|
10
10
|
- Last.fm
|
11
|
+
For details see services.org.
|
11
12
|
|
12
13
|
sync_songs can be used as standalone but also as a library.
|
13
14
|
|
@@ -82,6 +83,7 @@ If one has a user named mary at Grooveshark and a user named smith at Last.fm on
|
|
82
83
|
#+BEGIN_EXAMPLE
|
83
84
|
sync_songs sync --color -vs mary:grooveshark:favorites smith:lastfm:loved
|
84
85
|
#+END_EXAMPLE
|
86
|
+
For usage notes on the supported services see services.org.
|
85
87
|
|
86
88
|
To sync between more than two services just add additional services as arguments to the =-s= option. For example, to also sync to a csv file one can add it as an argument:
|
87
89
|
#+BEGIN_EXAMPLE
|
data/lib/sync_songs/version.rb
CHANGED
data/services.org
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# -*- mode:org; indent-tabs-mode:nil; tab-width:2 -*-
|
2
|
+
|
3
|
+
* Services
|
4
|
+
|
5
|
+
This document contains usage notes for the supported services. For a guide on how to add support for a service see development.org.
|
6
|
+
|
7
|
+
** csv
|
8
|
+
|
9
|
+
You need to provide the path to an existing csv file. To create a blank file one can use =touch=.
|
10
|
+
|
11
|
+
** grooveshark
|
12
|
+
|
13
|
+
To use this service you need an account at it.
|
14
|
+
|
15
|
+
** lastfm
|
16
|
+
|
17
|
+
To use this service you need a Last.fm API account, see http://www.lastfm.se/api.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sync_songs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -125,6 +125,7 @@ files:
|
|
125
125
|
- lib/sync_songs/song_set.rb
|
126
126
|
- lib/sync_songs/version.rb
|
127
127
|
- plan.org
|
128
|
+
- services.org
|
128
129
|
- sync_songs.gemspec
|
129
130
|
- test/unit/sample_data/sample_data.rb
|
130
131
|
- test/unit/services/test_csv_set.rb
|