{"id":16582093,"url":"https://github.com/robinst/id3lib-ruby","last_synced_at":"2025-06-30T13:33:15.029Z","repository":{"id":465834,"uuid":"90474","full_name":"robinst/id3lib-ruby","owner":"robinst","description":"Ruby interface to the id3lib C++ library for easily editing ID3 tags of MP3 audio files","archived":false,"fork":false,"pushed_at":"2012-03-22T20:49:24.000Z","size":825,"stargazers_count":41,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-12T22:31:49.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://id3lib-ruby.rubyforge.org/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robinst.png","metadata":{"files":{"readme":"README.rdoc","changelog":"CHANGES","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-12-14T19:39:33.000Z","updated_at":"2019-08-13T13:47:37.000Z","dependencies_parsed_at":"2022-07-07T18:22:22.094Z","dependency_job_id":null,"html_url":"https://github.com/robinst/id3lib-ruby","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinst%2Fid3lib-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinst%2Fid3lib-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinst%2Fid3lib-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinst%2Fid3lib-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robinst","download_url":"https://codeload.github.com/robinst/id3lib-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221815284,"owners_count":16885155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T22:31:27.426Z","updated_at":"2024-10-28T10:09:55.940Z","avatar_url":"https://github.com/robinst.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"= id3lib-ruby\n\n\u003cem\u003ePlease note: Unfortunately, id3lib is no longer maintained and\noutdated (no support for ID3v2.4). Therefore id3lib-ruby is no longer\nactively developed. Have a look at taglib-ruby for a possible\nalternative (also from yours truly):\u003c/em\u003e\n\nhttp://robinst.github.com/taglib-ruby/\n\nid3lib-ruby provides a Ruby interface to the id3lib C++ library for easily\nediting ID3 tags (v1 and v2) of MP3 audio files.\n\nThe class documentation starts at ID3Lib::Tag.\n\n\n== Features\n\n* Read and write ID3v1 and ID3v2 tags\n* Simple interface for adding, changing and removing frames\n* Quick access to common text frames like title and performer\n* Custom data frames like attached picture (APIC)\n* Pretty complete coverage of id3lib's features\n* UTF-16 support (warning: id3lib writes broken UTF-16 frames)\n* Windows binary gem available\n\nThe CHANGES file contains a list of changes between versions.\n\n\n== Installation\n\nSee INSTALL.\n\n\n== Online Information\n\nThe home of id3lib-ruby is http://id3lib-ruby.rubyforge.org\n\n\n== Usage\n\n  require 'rubygems'\n  require 'id3lib'\n  \n  # Load a tag from a file\n  tag = ID3Lib::Tag.new('talk.mp3')\n  \n  # Get and set text frames with convenience methods\n  tag.title  #=\u003e \"Talk\"\n  tag.album = 'X\u0026Y'\n  tag.track = '5/13'\n  \n  # Tag is a subclass of Array and each frame is a Hash\n  tag[0]\n  #=\u003e { :id =\u003e :TPE1, :textenc =\u003e 0, :text =\u003e \"Coldplay\" }\n  \n  # Get the number of frames\n  tag.length  #=\u003e 7\n  \n  # Remove all comment frames\n  tag.delete_if{ |frame| frame[:id] == :COMM }\n  \n  # Get info about APIC frame to see which fields are allowed\n  ID3Lib::Info.frame(:APIC)\n  #=\u003e [ 2, :APIC, \"Attached picture\",\n  #=\u003e   [:textenc, :mimetype, :picturetype, :description, :data] ]\n  \n  # Add an attached picture frame\n  cover = {\n    :id          =\u003e :APIC,\n    :mimetype    =\u003e 'image/jpeg',\n    :picturetype =\u003e 3,\n    :description =\u003e 'A pretty picture',\n    :textenc     =\u003e 0,\n    :data        =\u003e File.read('cover.jpg')\n  }\n  tag \u003c\u003c cover\n  \n  # Last but not least, apply changes\n  tag.update!\n\n\n== Licence\n\nThis library has Ruby's licence:\n\nhttp://www.ruby-lang.org/en/LICENSE.txt\n\n\n== Author\n\nRobin Stocker \u003crobinstocker at rubyforge.org\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinst%2Fid3lib-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinst%2Fid3lib-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinst%2Fid3lib-ruby/lists"}