tag:blogger.com,1999:blog-145332831106508186.post2386577837527683964..comments2023-03-19T09:06:24.378-04:00Comments on /var/log/rant: Higher Order MP3 Directory Organization, A First StepDave Jacobhttp://www.blogger.com/profile/15052163927020492687noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-145332831106508186.post-86430094104225350612010-04-22T14:08:28.098-04:002010-04-22T14:08:28.098-04:00Bug report: crashes when finding a zero-sized file...Bug report: crashes when finding a zero-sized file. Should find and take care of such things.Dave Jacobhttps://www.blogger.com/profile/15052163927020492687noreply@blogger.comtag:blogger.com,1999:blog-145332831106508186.post-8103607361021643382010-03-20T00:32:34.673-04:002010-03-20T00:32:34.673-04:00I propose a bitrate column in your table. If, for ...I propose a bitrate column in your table. If, for instance, ten years ago you ripped <i>Muskrat Love</i> with the original Fraunhafer encoder 128kbps fixed rate (which we all did, because Lame hadn't been invented yet and hard drives were still small) and then later happened to rerip it at 256kbps VBR, you'll end up with different file sizes and different SHA1 hashes, even though everything else might be the same. <br />You could also implement some heuristics for detecting possible duplicates based on artist/year/title match or partial match, and so forth.patrickhttps://www.blogger.com/profile/17800337561306169507noreply@blogger.comtag:blogger.com,1999:blog-145332831106508186.post-71207099851736623942010-03-19T16:06:46.451-04:002010-03-19T16:06:46.451-04:00Besides File::Next, there is also my File-Find-Obj...Besides File::Next, there is also my <a href="http://www.shlomifish.org/open-source/projects/File-Find-Object/" rel="nofollow">File-Find-Object</a> (originally by Nanardon), which also has File-Find-Object-Rule.Shlomi Fishhttps://www.blogger.com/profile/17923137194635702391noreply@blogger.comtag:blogger.com,1999:blog-145332831106508186.post-77292153600003297992010-03-19T15:11:11.178-04:002010-03-19T15:11:11.178-04:00Andy(1): Will look into File::Next. Thanks.
Andy(...Andy(1): Will look into File::Next. Thanks.<br /><br />Andy(2): Same with Audio::Scan. I try to avoid non-MP3 audio files, as OGGs tend to not work with my phone and/or MP3 players and WMAs and ... whatever the Apple one is ... are proprietary and sometimes don't work on my preferred desktop, but I do have some of those depricated formats and that sounds like a win.Dave Jacobhttps://www.blogger.com/profile/15052163927020492687noreply@blogger.comtag:blogger.com,1999:blog-145332831106508186.post-63465228439092421642010-03-19T14:31:26.587-04:002010-03-19T14:31:26.587-04:00Shameless plug here, I'd like to suggest tryin...Shameless plug here, I'd like to suggest trying Audio::Scan instead of MP3::Info, it is much faster and more accurate for reading MP3 file info and ID3 tags. And if you have other types of audio files in addition to MP3's, it'll handle those as well.Unknownhttps://www.blogger.com/profile/01953004752787451901noreply@blogger.comtag:blogger.com,1999:blog-145332831106508186.post-24446797048419985072010-03-19T14:21:00.434-04:002010-03-19T14:21:00.434-04:00I wrote File::Next based on MJD's HOP examples...I wrote File::Next based on MJD's HOP examples, so that we wouldn't have to re-invent the wheel. I think you'll find it useful.Andy Lesterhttps://www.blogger.com/profile/09755104360043101497noreply@blogger.com