MarkF

As a general rule, iTunes (the application, not the store) and Apple Music (the application that has replaced iTunes on macOS, not the subscription service) organizes its music library on disk in the same way that a B2 wants its music: Artist folders, containing Album folders, containing tracks. This is true no matter how you can search or display the music in the iTunes or Music application interface.

The easy way, therefore, to copy your iTunes or Apple Music files -- the ones you actually own, either by purchasing them or by ripping CDs; subscription files you have downloaded for "offline use" are probably encrypted and cannot be used outside of the Apple Music application -- is to find and copy the Library folder structure.

There is only one reason we need to run the application: to look in its Preferences in order to locate where on the disk it keeps the actual music library.

While there are similarities between iTunes (which is still the program that runs on Microsoft Windows) and Apple Music (on current versions of macOS), I have split out the Windows and Mac steps in order to show appropriate screen images for each.

iTunes on MS-Windows:
Run iTunes, and on the Edit menu click on Preferences.
iTunes-Edit-Prefs (cropped).png

In the Preferences window that pops up, click on Advanced.
iTunes-Prefs-Advanced(edited).jpg

Note that the option "Keep iTunes Media folder organized" is checked; I believe this has been the default setting for a long time (at least since 2003). The path that you need is shown as the "iTunes Media folder location"; navigate to it in the Windows Explorer (some people call it File Manager).

You can now close iTunes, as we will be working in the Explorer.

Under the iTunes Media folder is a folder called Music; inside that are the artist folders, containing album folders, and finally tracks.
iTunesMedia-Music-XP.png
(here you can see tracks in the right-hand pane, and in the left-hand pane you can see they are in the album "It's Not Me, It's You", under the artist Lily Allen. The Address bar shows the artists are the top level under the Music folder in iTunes Media.)

You can right-click on the Music folder and select Properties to find out how big it is.


Apple Music on macOS:
Launch Music, and on the menubar under Music click on Preferences. In the Preferences window that pops up, click on Files.
Mac Music Prefs Files(edited).jpg

Note that the option "Keep Music Media folder organized" is checked; I believe this has been the default setting for a long time (at least since iTunes in 2003). The path that you need is shown as the "Music Media folder location"; navigate to it in the Finder.

You can now close Apple Music, as we will be working in the Finder.

In this example, the Music Media folder is called "iTunes Music", because that is where the files were when macOS was upgraded and Music replaced iTunes. Inside that are the artist folders, containing album folders, and finally tracks.
Mac iTunesMusic.png

You can right-click on the iTunes Music folder and select Get Info to find out how big it is.

Final steps, on either platform:
If you have a USB drive big enough to hold the entire music folder, just drag (copy) the whole folder to the USB drive. At the very least you will have a backup copy that way.

If you use a thumb drive (also called "USB stick"), usually they come from the factory formatted to FAT32, which is what the B2 wants. It won't use anything else. If you have a different USB drive with nothing on it that you want to keep, the B2 can format it for you -- formatting erases everything already there, so be careful if it has files. Then if you copy the iTunes or Music library folder to it, the B2 will be able to read it directly and you should be able to Import directly from the USB drive.


Some things to be aware of if you have a Mac:
Macs have an annoying habit (well, it's annoying to the rest of us) of storing information in files in two "forks" -- a data fork, which in this case contains the actual music, and a resource fork, which contains some information used by macOS (and nothing else). On a Mac-native file system -- HFS, HFS+, AFS -- they occupy one file. On other file systems -- FAT32, ext4 -- they get split into two files. Viewed from a Mac they still look like one file, but when you get those files over to the B2 you will probably see filenames starting with ._ (dot underscore), and they'll all be really small. Those are the resource forks for the corresponding data files. The B2 has a "clean up" function on the menus to get rid of them for you. (Settings > Maintenance > Cleanup)

The B2 can play MP3 files; it can play M4A files; it can play WAV, FLAC, and ALAC files (but you are unlikely to find WAV or FLAC on a Mac or from Apple, as Apple chose to use AIFF instead of WAV and ALAC instead of FLAC). It's possible to convert AIFF or other formats if you need to. (On a Mac I would use XLD, which is freeware.)

Nothing but your iTunes account can decrypt M4P files, which are Apple's DRM protected files. iTunes could burn audio CDs from them, which effectively strips the DRM; maybe Music can do the same. M4P files will not be playable on a B2.


joe u
If you're doing it with Import from a USB, or Upload via the web, it will just overwrite.
If you are doing it via NAS, it will do whatever your operating system does.
 
If you're doing it with Import from a USB, or Upload via the web, it will just overwrite.
If you are doing it via NAS, it will do whatever your operating system does.
Thank you very much for taking the time to reply.
Reply 0 0
doelli
Thank you for sending this but I have already followed it with no success. I see on the drive the ._ files you refer to above, but I do not see the corresponding Disk Cleanup function you refer to on my B3+.  
 
So is my problem that I need to amalgamate these files together? If so how do I do that as I dont seem to have the Disk Cleanup function on the B3+?
 
Or is there another way of completing this transfer that I have not tried?
Reply 0 0
Fred
Thank you for sending this but I have already followed it with no success. I see on the drive the ._ files you refer to above, but I do not see the corresponding Disk Cleanup function you refer to on my B3+.  
 
So is my problem that I need to amalgamate these files together? If so how do I do that as I dont seem to have the Disk Cleanup function on the B3+?
 
Or is there another way of completing this transfer that I have not tried?
You are correct, it appears that the B2's Front screen menu "Cleanup" function has not been ported to the B3 menus.
 
In this instance BEFORE YOU EVER IMPORT the iTunes music, I would suggest that you use your PC/Mac file explorer tools to find and delete the ".-" files while the USB device is plugged into your PC or Mac.
This way means that they are never imported into the B3 in the first place.
 
However if you HAVE already imported the ".-" files, then I suggest that you make 2, NEW, CLEAN "Export" backups of your Brennan unit's music (one for safety, one for working on)
 
[273045%2F9438593%2Fmceclip0]
 
Once this is done, take ONE of these backups and plug it into your PC or Mac. Then use the PC or Mac file explorer tools to find and then delete all the ".-" files.
 
Once this is done and you are happy with the result, use the B3 Front screen menu to DELETE all the music on your B3 - the "Format HDD" function will achieve this
[273045%2F9438596%2Fmceclip0]
 
Now restore all your music again from the USB Device where your have removed all the ".-" files, using the Front screen menu "Browse USB A"
[273045%2F9438600%2Fmceclip0]
 
After this your B3 music collection should be ".-" file free.  A bit long winded but this process will work.
Reply 0 0
MarkF
Thank you for sending this but I have already followed it with no success. I see on the drive the ._ files you refer to above, but I do not see the corresponding Disk Cleanup function you refer to on my B3+.  
Yes, it doesn't exist on the B3/B3+
 
So is my problem that I need to amalgamate these files together? I
No, you need to get rid of the dot-underscore files entirely. They are meaningless outside a Mac.
macOS provides a command-line tool called "dot_clean" that you must use on your transfer disk before moving it to the B3. Please read
and
 
After you do that you can start the import again.
 
Import will not delete anything already on the B3. So if there is anything on the B3 that is NOT from your iTunes library, you should read Fred's procedure about Exporting first to save copies of that other stuff.
Reply 0 0
doelli
Yes, it doesn't exist on the B3/B3+
 
 
No, you need to get rid of the dot-underscore files entirely. They are meaningless outside a Mac.
macOS provides a command-line tool called "dot_clean" that you must use on your transfer disk before moving it to the B3. Please read
and
 
After you do that you can start the import again.
 
Import will not delete anything already on the B3. So if there is anything on the B3 that is NOT from your iTunes library, you should read Fred's procedure about Exporting first to save copies of that other stuff.
 
You are correct, it appears that the B2's Front screen menu "Cleanup" function has not been ported to the B3 menus.
 
In this instance BEFORE YOU EVER IMPORT the iTunes music, I would suggest that you use your PC/Mac file explorer tools to find and delete the ".-" files while the USB device is plugged into your PC or Mac.
This way means that they are never imported into the B3 in the first place.
 
However if you HAVE already imported the ".-" files, then I suggest that you make 2, NEW, CLEAN "Export" backups of your Brennan unit's music (one for safety, one for working on)
 
[273045%2F9438593%2Fmceclip0]
 
Once this is done, take ONE of these backups and plug it into your PC or Mac. Then use the PC or Mac file explorer tools to find and then delete all the ".-" files.
 
Once this is done and you are happy with the result, use the B3 Front screen menu to DELETE all the music on your B3 - the "Format HDD" function will achieve this
[273045%2F9438596%2Fmceclip0]
 
Now restore all your music again from the USB Device where your have removed all the ".-" files, using the Front screen menu "Browse USB A"
[273045%2F9438600%2Fmceclip0]
 
After this your B3 music collection should be ".-" file free.  A bit long winded but this process will work.
Thanks for this. I have only imported one or 2 artists into the B3+ with the ._ files. The import of the music works fine - its just I am missing the artwork.
 
So what I don't understand is by deleting the ._ files that implies the artwork is not in the ._ file. In which case is it missing from the original itunes file I transferred?
 
I tried to see if this was the case by using mp3tag and adding the artwork to the file and then reimporting this amended file to the b3. That also had exactly the same result as before - audio track imported ok with no artwork.
 
I've just also tried using roon and creating new mp3 files to import and they also lack the artwork when imported to the B3., despite it being visible in roon.
 
I already have 800+ tracks directly burnt to the B3 so I am unwilling to delete those via reformating the disk.
I am simply trying to add an additional 1000 or so tracks of purchased itunes music along with the associated artwork. Whilst I could live with the additional music not having its artwork, I would prefer it to have it.
 
I am not sure why I am having such difficulty in achieving that.
Reply 0 0
MarkF
its just I am missing the artwork.
In your post back in the B3 section, I stated that the B3 does not use embedded tags for its metadata.
What part of "does not use embedded tags" was unclear?
 
The B3 will display artwork that is in a separate .jpg file. You can embed artwork all you like, the B3 does not use embedded tags for its metadata.
 
You have mp3tag. mp3tag is probably showing you artwork that iTunes has embedded. mp3tag will allow you to EXTRACT (copy) the embedded artwork into a separate file in the same directory as the tracks. The B3 will display that separate file if it is a JPEG file, with extension .jpg.
 
 
using mp3tag and adding the artwork to the file and then reimporting this amended file to the b3. That also had exactly the same result as before - audio track imported ok with no artwork.
the B3 does not use embedded tags for its metadata.
Adding the artwork to the file is not necessary. Putting the artwork in a separate file is necessary.
 
So what I don't understand is by deleting the ._ files that implies the artwork is not in the ._ file.
The ._ file is the resource fork of the original Apple binary. ALL THE DATA, including embedded tags, is in the data fork.
In which case is it missing from the original itunes file I transferred?
No, it's still IN the files, if it was there when you had the files in iTunes.
But the B3 does not use embedded tags for its metadata.
You need to copy the artwork into a separate file in the album directory, alongside (not inside) the tracks.
Reply 0 0
Fred
Dont want to appear that I am trying to teach you to suck eggs, but the Brennan system does not use tags.
When a CD is ripped the fingerprint is made and looked up in Musicbrainz. From Musicbrainz, the cover art file is obtained along with the artist, CD name and track name information.
The later 3 are used to create a directory structure for the CD on the Brennan and the cover art file is stored along with the track files which will be in WAV format.
When you access the CD the cover art file is used to populate the image on the Front display (I think on a B3 - I dont have one) and some of the Web UI.
When the Brennan compresses the WAV file, as it does so it uses the cover art and the artist, CD name and Track name structure AND the cover art image as METADATA which it embeds as tags into the music files.
When playing these music files, I know that at least the cover art tags are used to populate OTHER parts of the Web UI. However, apart from these things, the Brennan does not touch or use any tags in its functioning. It does not object if more metadata tags are present, it ignores them.
Therefore as a basic requirement, to display cover art, a jpeg file of cover art needs to be present amongst the track data for each album.
Reply 0 0
Ray J Dion ray
I thought I could make this easier and I think I can but it will take a bit. Before I start I would like absolute confirmation that the only files that need to be deleted are the ending in dot underscore (._).
 
I thought this would be easy but I learned that the ls -R command is not working as expected. The find command when I search for .wav shows me all files with 'wav' in them. That means if I do it the easy way the script would delete all tracks with an underscore in them. Testing is a good thing!
For my wav example I see the following:
 
B3# find . |grep ".wav"
./10cc/junk/zrose.wav
./Various Artists/Love Songs - Slow Dance/02 Heatwave - Always & Forever.flac
./Patrick Moraz/Human Interface/09 Hyperwaves.flac
./Four Bitchin' Babes/Fax It! Charge It! Don't Ask Me What's for Dinner!/06 Microwave Life.flac
 
That would not lead to good results. If I can do this then the job would be done in minutes instead of hours.
Ray
B3 is playing Our House by Helen Reddy from "The Very Best of Helen Reddy"
Reply 0 0
MarkF
The find command when I search for .wav shows me all files with 'wav' in them.
 
For my wav example I see the following:
B3# find . |grep ".wav"
./10cc/junk/zrose.wav
./Various Artists/Love Songs - Slow Dance/02 Heatwave - Always & Forever.flac
Actually, Ray, it's not the find command doing that -- it's grep. grep is interpreting the . character as a single-character wildcard, in the same way that MS-DOS uses the ? as a single-character wildcard. So you have actually asked for every occurrence of "wav" preceded by any character at all.
 
Have you tried escaping the . so it is taken as a literal? You have to make sure that the \ gets passed from the shell to grep, though, so two are actually needed. Try
find . | grep \\.wav
 
 
Reply 0 0
doelli
In your post back in the B3 section, I stated that the B3 does not use embedded tags for its metadata.
What part of "does not use embedded tags" was unclear?
 
The B3 will display artwork that is in a separate .jpg file. You can embed artwork all you like, the B3 does not use embedded tags for its metadata.
 
You have mp3tag. mp3tag is probably showing you artwork that iTunes has embedded. mp3tag will allow you to EXTRACT (copy) the embedded artwork into a separate file in the same directory as the tracks. The B3 will display that separate file if it is a JPEG file, with extension .jpg.
 
 
 
the B3 does not use embedded tags for its metadata.
Adding the artwork to the file is not necessary. Putting the artwork in a separate file is necessary.
 
 
The ._ file is the resource fork of the original Apple binary. ALL THE DATA, including embedded tags, is in the data fork.
 
No, it's still IN the files, if it was there when you had the files in iTunes.
But the B3 does not use embedded tags for its metadata.
You need to copy the artwork into a separate file in the album directory, alongside (not inside) the tracks.
 
Clearly this is not a simple thing to do, especially for the first time. Nowhere in any of the threads I have seen has it said there needs to be two files - one a jpeg with the artwork.  I understood your initial advice to mean that by deleting the ._ file this would solve my problem. It seems that the ._ file is just superfluous and is not adding or subtracting to the issue.
 
If I now understand correctly piecing together various threads, somehow I need to use mp3tag to add a file to my import which has the jpeg file of the artwork. If that is stated before in any of the threads or instructions I have seen it, I have missed it. But I do not recall it was stated so I think my confusion is quite understandable and does not need testiness on top of the days I have spent trying to solve this problem.
 
Which is also why my question to the other mp3tag thread is actually where I probably need to find the solution and didn't also need your testiness.
Reply 0 0
doelli
Dont want to appear that I am trying to teach you to suck eggs, but the Brennan system does not use tags.
When a CD is ripped the fingerprint is made and looked up in Musicbrainz. From Musicbrainz, the cover art file is obtained along with the artist, CD name and track name information.
The later 3 are used to create a directory structure for the CD on the Brennan and the cover art file is stored along with the track files which will be in WAV format.
When you access the CD the cover art file is used to populate the image on the Front display (I think on a B3 - I dont have one) and some of the Web UI.
When the Brennan compresses the WAV file, as it does so it uses the cover art and the artist, CD name and Track name structure AND the cover art image as METADATA which it embeds as tags into the music files.
When playing these music files, I know that at least the cover art tags are used to populate OTHER parts of the Web UI. However, apart from these things, the Brennan does not touch or use any tags in its functioning. It does not object if more metadata tags are present, it ignores them.
Therefore as a basic requirement, to display cover art, a jpeg file of cover art needs to be present amongst the track data for each album.
Thank you. This clarifies the need. All I need to do is find out how to do this!
Reply 0 0
MarkF
Nowhere in any of the threads I have seen has it said there needs to be two files - one a jpeg with the artwork.
Reply 0 0
MarkF
Nowhere in any of the threads I have seen has it said there needs to be two files - one a jpeg with the artwork.
Reply 0 0
doelli
Thank you. This clarifies the need. All I need to do is find out how to do this!
Thank you. This clarifies the need. All I need to do is find out how to do this!
Thank you @Fred - this was very helpful. I used mp3tag and the export cover action therein to create the jpeg file in each album directory so that when it loaded to the brennan it recognized the artwork. Hopefully other novices like me in the future can find this thread to answer the questions I had over the past few weeks.
For reference I used Noteburner to extract the files from itunes. I did have to manually add the cover work via mp3tag to the extracted files to use the action above but given the time i had spent to get that far, it was a small sacrifice.
Thanks again!
#mp3tag #itunes import #apple music import
Reply 0 0
Reply