lctr_mp3 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a05711ba481ec51af625f84b6b14cc13847ed5ee
4
- data.tar.gz: 63f80a2d9d298894e1e484996a1770a4ead91627
3
+ metadata.gz: 076c49b2faa2d09a246233d75adfbce9186e7f29
4
+ data.tar.gz: b5cb85bf8a514fcc8564b30f0a08ac5304defaf1
5
5
  SHA512:
6
- metadata.gz: 0818a79535cd47cacbd62c876ab950141a9cc461ff1bf21ab22eaae285d2caa37ae1f7a74e2f0b73b87ac7ff6c1090a26c4231f075a23e7022f81a96d948799d
7
- data.tar.gz: 877fcbd87fcd69ad99453d3d0453c1cb290f007850ad482b2604cf3eaefbc4fe3e1ba6fb13f50b0303357ecae2cb7f865d4062c325240e377814f46a1e5a9005
6
+ metadata.gz: 971aaf23dd5d963827c3e29f1465f953d311eee10303c9a5613cb8558743175a571c37fe41a99b5831b50f4ecaa89007e6fb051db7d5c15aafc87a8c5dcc1ad9
7
+ data.tar.gz: 9b0d4b0fb4f3a9b3849f61b31c2bf610243f267405039e2ceb30e1ab29ba9e4dd7e47b0c884c64b50cf774c9633c82ece900c7de86caf4d6ae2b1cf48a61fda4
data/Gemfile CHANGED
File without changes
data/Rakefile.rb CHANGED
File without changes
data/lib/id3_frame_ids.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  #Frame IDs for the mp3 program.
2
2
 
3
- FRAMES = {TIT2: "song_title", TALB: "album_title", TLEN: "song_length", TPE1: "artist", TYER: "year", TRCK: "track", TIME: "time"}
3
+ FRAMES = {TIT2: "song_title", TALB: "album_title", TPE1: "artist", TYER: "year", TRCK: "track", TIME: "time"}
data/lib/lctr_mp3.rb CHANGED
@@ -16,7 +16,7 @@ require_relative '../lib/id3_frame_ids.rb'
16
16
  #
17
17
  class ID3
18
18
 
19
- attr_accessor :mp3_file, :song_title, :album_title, :artist, :track, :year, :song_length, :version, :flags, :path, :time
19
+ attr_accessor :mp3_file, :song_title, :album_title, :artist, :track, :year, :version, :flags, :path, :time
20
20
 
21
21
  # This will read in all of the tag data when the instance is initialized.
22
22
  def initialize(file)
@@ -104,7 +104,9 @@ class ID3
104
104
  end
105
105
 
106
106
  fr_size = fr_size_str.to_i(2)
107
- frm = tag[loc+10,fr_size].gsub(/\u0000/,"")
107
+ #p fr_size
108
+ frm = tag[loc+10,fr_size] #.gsub(/\u0000/,"")
109
+ #p frm
108
110
 
109
111
  eval("self.#{FRAMES[type]} = frm")
110
112
 
data/spec/.rspec CHANGED
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lctr_mp3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neil Woodward
@@ -22,7 +22,7 @@ files:
22
22
  - lib/lctr_mp3.rb
23
23
  - spec/.rspec
24
24
  - spec/lctr_mp3_spec.rb
25
- homepage: http://rubygems.org/gems/lctr_mp3_gem
25
+ homepage: https://github.com/drlctr/Lctr_mp3/tree/master
26
26
  licenses:
27
27
  - MIT license (MIT)
28
28
  metadata: {}