atomic-parsley-ruby 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +50 -1
- data/atomic-parsley-ruby.gemspec +1 -1
- data/lib/atomic-parsley-ruby/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 640cc925a89214a5a531fd63dbb34e048104ee6f
|
4
|
+
data.tar.gz: f1c48d179bce009509e4553a4e657fb7d5657f8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d8483e90323090ef42c4ef7d0451469180f7501491be87718c0dd0ce09fbe766659836ebfac8b0850926621ed1e613a0bf1b2598c456c9afdbee2c0ee3eec06
|
7
|
+
data.tar.gz: 2babe84569bca3459c7cd4692005f276206c5905ad6f49878a1079f86e372d73d0f58bea5cfb380e887a7fb545d19f323f1e504fb3c71324052121fd30648934
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# AtomicParsleyRuby
|
2
2
|
|
3
|
-
A wrapper api for the
|
3
|
+
A wrapper api for the atomicparsley cli. This is good for scripting out bulk media meta encodeing. It has been tested on mp3, mp4, and m4v
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -24,9 +24,57 @@ Or install it yourself as:
|
|
24
24
|
$ gem install atomic-parsley-ruby
|
25
25
|
|
26
26
|
## Usage
|
27
|
+
# You can set any of the following attributes on the media class.
|
28
|
+
# artist (string) Set the artist tag
|
29
|
+
# title (string) Set the title tag
|
30
|
+
# album (string) Set the album tag
|
31
|
+
# genre (string) Genre tag (see longhelp for more info)
|
32
|
+
# tracknum (num)[/tot] Track number (or track number/total tracks)
|
33
|
+
# disk (num)[/tot] Disk number (or disk number/total disks)
|
34
|
+
# comment (string) Set the comment tag
|
35
|
+
# year (num|UTC) Year tag (see longhelp for \"Release Date\")
|
36
|
+
# lyrics (string) Set lyrics (not subject to 256 byte limit)
|
37
|
+
# composer (string) Set the composer tag
|
38
|
+
# copyright (string) Set the copyright tag
|
39
|
+
# grouping (string) Set the grouping tag
|
40
|
+
# artwork (/path) Set a piece of artwork (jpeg or png only)
|
41
|
+
# bpm (number) Set the tempo/bpm
|
42
|
+
# albumArtist (string) Set the album artist tag
|
43
|
+
# compilation (boolean) Set the compilation flag (true or false)
|
44
|
+
# hdvideo (boolean) Set the hdvideo flag (true or false)
|
45
|
+
# advisory (string*) Content advisory (*values: 'clean', 'explicit')
|
46
|
+
# stik (string*) Sets the iTunes \"stik\" atom (see longhelp)
|
47
|
+
# description (string) Set the description tag
|
48
|
+
# longdesc (string) Set the long description tag
|
49
|
+
# TVNetwork (string) Set the TV Network name
|
50
|
+
# TVShowName (string) Set the TV Show name
|
51
|
+
# TVEpisode (string) Set the TV episode/production code
|
52
|
+
# TVSeasonNum (number) Set the TV Season number
|
53
|
+
# TVEpisodeNum (number) Set the TV Episode number
|
54
|
+
# podcastFlag (boolean) Set the podcast flag (true or false)
|
55
|
+
# category (string) Sets the podcast category
|
56
|
+
# keyword (string) Sets the podcast keyword
|
57
|
+
# podcastURL (URL) Set the podcast feed URL
|
58
|
+
# podcastGUID (URL) Set the episode's URL tag
|
59
|
+
# purchaseDate (UTC) Set time of purchase
|
60
|
+
# encodingTool (string) Set the name of the encoder
|
61
|
+
# encodedBy (string) Set the name of the Person/company who encoded the file
|
62
|
+
# apID (string) Set the Account Name
|
63
|
+
# cnID (number) Set the iTunes Catalog ID (see longhelp)
|
64
|
+
# xid (string) Set the vendor-supplied iTunes xID (see --longhelp)
|
65
|
+
# gapless (boolean) Set the gapless playback flag
|
66
|
+
# contentRating (string) Set tv/mpaa rating (see -rDNS-help)
|
27
67
|
|
28
68
|
v = AtomicParsleyRuby::Media.new("test.mp4")
|
29
69
|
|
70
|
+
v.artist "Some Guy"
|
71
|
+
v.year "2012"
|
72
|
+
v.genre "Punk Rock"
|
73
|
+
v.artwork "cover.png"
|
74
|
+
v.process
|
75
|
+
|
76
|
+
# you can also use the block format below.
|
77
|
+
|
30
78
|
v.encode do |config|
|
31
79
|
config.artist "Some Guy"
|
32
80
|
config.year "2012"
|
@@ -34,6 +82,7 @@ Or install it yourself as:
|
|
34
82
|
config.artwork "cover.png"
|
35
83
|
end
|
36
84
|
|
85
|
+
|
37
86
|
## Contributing
|
38
87
|
|
39
88
|
1. Fork it
|
data/atomic-parsley-ruby.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = AtomicParsleyRuby::VERSION
|
9
9
|
spec.authors = ["cparratto"]
|
10
10
|
spec.email = ["cparratto@pnmac.com"]
|
11
|
-
spec.description = %q{A wrapper api for the
|
11
|
+
spec.description = %q{A wrapper api for the atomicparsley cli}
|
12
12
|
spec.summary = %q{I take no major credit for this its simply just a wrapper for the c application available at http://atomicparsley.sourceforge.net/}
|
13
13
|
spec.homepage = "https://github.com/cparratto/atomic-parsley-ruby"
|
14
14
|
spec.license = "MIT"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atomic-parsley-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cparratto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description: A wrapper api for the
|
69
|
+
description: A wrapper api for the atomicparsley cli
|
70
70
|
email:
|
71
71
|
- cparratto@pnmac.com
|
72
72
|
executables: []
|