{"id":13,"date":"2011-05-08T06:53:00","date_gmt":"2011-05-08T06:53:00","guid":{"rendered":"http:\/\/www.lochan.org\/keith\/blogs\/gurunoia\/?p=13"},"modified":"2012-10-15T21:40:51","modified_gmt":"2012-10-15T21:40:51","slug":"sorting-mp3s-on-a-sony-walkman-nwz-b152-player","status":"publish","type":"post","link":"https:\/\/gurunoia.lochan.org\/blog\/2011\/05\/sorting-mp3s-on-a-sony-walkman-nwz-b152-player\/","title":{"rendered":"Sorting MP3s on a Sony Walkman NWZ-B152 player"},"content":{"rendered":"<p>I bought an MP3 player yesterday for the kids, for bedtime music. They&#8217;re currently using an old Nokia phone, but it&#8217;s a bit broken and hard to navigate and the internal speaker isn&#8217;t that great. The new plan is to wire a line in socket to an old CD\/radio and attach the MP3 player to that.<\/p>\n<p>I got a Sony Walkman NWZ-B152 from Tesco because it was on special and they have a Double Points deal (though that took some negotiation in the end!). The documentation all assumes you&#8217;re using the latest OS from Microsoft. I&#8217;m using Ubuntu Linux, but I figured that shouldn&#8217;t be a problem.<\/p>\n<p>The device supports USB Mass Storage, but when I copied some MP3s onto it, the tracks in each album came up in random order. I tried adding ID3 track number tags with eyeD3, and they still came up in random order &#8211; but a different random order this time. Bizarre.<\/p>\n<p>Finally this morning I worked it out. <b>The Sony player sorts on the ID3v2.3 track tag only<\/b> &#8211; if there&#8217;s an ID3v1.0 track tag, it ignores it. And eyeD3 sometimes uses one flavour and sometimes another.<\/p>\n<p>Simple fix: in my encoder script, add <code>--id3v2-only<\/code>. Or if, as in my case, you&#8217;ve already copied loads of MP3s across and don&#8217;t want to repeat it, in your fixup script add <code>--to-v2.3<\/code>. Et voil\u00e0, track sort order works at last!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I bought an MP3 player yesterday for the kids, for bedtime music. They&#8217;re currently using an old Nokia phone, but it&#8217;s a bit broken and hard to navigate and the internal speaker isn&#8217;t that great. The new plan is to &hellip; <a href=\"https:\/\/gurunoia.lochan.org\/blog\/2011\/05\/sorting-mp3s-on-a-sony-walkman-nwz-b152-player\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[17],"tags":[6,7,5],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/13"}],"collection":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/comments?post=13"}],"version-history":[{"count":1,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions"}],"predecessor-version":[{"id":38,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions\/38"}],"wp:attachment":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/media?parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/categories?post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/tags?post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}