id3

How to set: “artist”, “album artist”, “year”, “album”, “song number” and “title” fields of the tag, with mutagen

半城伤御伤魂 提交于 2019-12-01 11:42:21
问题 I'm trying to use mutagen (with Python 2.7.5) to create a program that, given that the path to songs is ...\Artist\Year Album\Songnumber Title.mp3 , sets the artist, album artist, year, album, song number and title tags of the song, and preserves the genre tag. I tried to do this with EasyID3, but it doesn't have the album artist tag. I also tried to do it with regular ID3, but I ran into a couple of problems with it. Here's the code I used: from mutagen.id3 import ID3, TIT2, TPE2, TALB, TPE1

JAudioTagger and Android - Change a value in an mp3?

风格不统一 提交于 2019-12-01 10:44:19
I can read meta information like title, artist, album art and other information from audio files, but I have never been able to successfully write the meta information. Any have any experiences with this? Are there better libraries than JAudioTagger? I'd offer some example code, but I've tried a dozen things that didn't work. Something like AudioFile audioFile = AudioFileIO.read(testFile); Tag newTag = audioFile.getTag(); newTag.setField(FieldKey.ALBUM,"October"); newTag.setField(FieldKey.ARTIST,"U2"); audioFile.commit(); but if you are using android you also need to do TagOptionSingleton

JAudioTagger and Android - Change a value in an mp3?

会有一股神秘感。 提交于 2019-12-01 09:18:31
问题 I can read meta information like title, artist, album art and other information from audio files, but I have never been able to successfully write the meta information. Any have any experiences with this? Are there better libraries than JAudioTagger? I'd offer some example code, but I've tried a dozen things that didn't work. 回答1: Something like AudioFile audioFile = AudioFileIO.read(testFile); Tag newTag = audioFile.getTag(); newTag.setField(FieldKey.ALBUM,"October"); newTag.setField

What is the best library for reading ID3 tags? [closed]

我们两清 提交于 2019-12-01 08:51:49
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . What library is presently the most thorough and capable ID3 tag reading library available? Preferably something I can compile as a

setting album art of a mp3 with php

怎甘沉沦 提交于 2019-11-30 19:05:17
I am looking for the best or any way to set the Album Art of mp3s using PHP. Suggestions? Album art is a data frame identified as “Attached picture” due ID3v2 specification, and getID3() now is only one way to write all possible data frames in ID3v2 with pure PHP. Look at this source: http://getid3.sourceforge.net/source/write.id3v2.phps Search for this text in the source: // 4.14 APIC Attached picture there's a piece of code responsible for writing album art. Another way, that seems to be not as slow as pure PHP, is to use some external application, that will be launched by PHP script. If

Read ID3 Tags of Remote MP3 File in Ruby/Rails?

僤鯓⒐⒋嵵緔 提交于 2019-11-30 15:26:29
Using Ruby, how can one parse the ID3 tags of remote mp3 files without downloading the entire file to disk? This question has been asked in Java and Silverlight , but no Ruby. Edit: Looking at the Java answer, it seems as though it's possible (HTTP supports it) to download just the tail end of a file, which is where the tags are. Can this be done in Ruby? Tilo which Ruby version are you using? which ID3 Tag version are you trying to read? ID3v1 tags are at the end of a file, in the last 128 bytes. With Net::HTTP it doesn't seem to be possible to seek forward towards the end of the file and

Is there a Perl or Python library for ID3 metadata? [closed]

雨燕双飞 提交于 2019-11-30 13:33:18
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Basically, I've got a bunch of music files yoinked from my brother's iPod that retain their metadata but have those absolutely horrendous four character names the iPod seems to like storing them under. I figured I'd write a nice, quick script to just rename them as I wished, but I'm curious about any good

How to remove ID3 audio tag image (or metadata) from mp3 with ffmpeg

亡梦爱人 提交于 2019-11-30 12:13:08
FFMPEG is really a great tool. I know it can edit ID3 tags and even remove all tags in a row : ffmpeg -i tagged.mp3 -map_metadata -1 untagged.mp3 But even after that, there's still the cover image. I don't know how to remove it using ffmpeg. I know there's other soft out there that can do the job - like eyed3 - but what's the point to install it if ffmpeg can do it too, in one line, while encoding the audio ? The cover image/album art is treated as a video stream by ffmpeg. To omit it you can use the -vn or -map options. Strip metadata and remove album art (no re-encoding) In this example the

how to fetch the details of the audio file in iPhone

让人想犯罪 __ 提交于 2019-11-30 11:40:17
问题 I made the custom player by using AVAudioPlayer. Now, I want to fetch the details of the audio file such as artist name,album name,etc which is added in the resource folder. MPMusicPlayer provides the API for fetching the details but its using iPod library and its not taking the resource from sandbox of application. So, MPMusicPlayer is not going to work in that scenario. So, how can we fetch the details of audio file in iPhone. 回答1: You can get this information through the AudioToolbox

ID3 tags with Swift

坚强是说给别人听的谎言 提交于 2019-11-30 05:15:46
I'm looking for a way to modify ID3 tags with Swift. More specifically, I want to write the Album Art image to an mp3/m4a file. A Swift library would be the best, but I'll take anything that can be done natively in Swift. I don't want to rely on another language's library. I had a quick look at AVFoundation, but it looks like it's only for audio/video playback and conversion. This is about the closest I found from ID3 tags: https://developer.apple.com/library/mac/documentation/AVFoundation/Reference/AVAsset_Class/ Any suggestion? I was faced with this same problem over and over so I decided to