Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Junior Member
    Join Date
    Dec 2020
    Posts
    9

    Question about Music Library file structure

    Had an issue with scanning/rescanning my music library. I learned here that it was a permissions issue. Now I want to add other music files from a different hard drive. There are organised by Artist (directory), Album Name (sub-directory), Tracks. Do I need to flatten this directory structure to import into LMS?

  2. #2
    Quote Originally Posted by jimbobs View Post
    Had an issue with scanning/rescanning my music library. I learned here that it was a permissions issue. Now I want to add other music files from a different hard drive. There are organised by Artist (directory), Album Name (sub-directory), Tracks. Do I need to flatten this directory structure to import into LMS?
    No you don't need to flatten the directory structure - at least that's the general file structure I use!

    Robert
    Home: Raspberry Pi 4/pCP7.0/LMS8.0.1/Material with files on QNAP TS-251A
    Touch > DacMagic 100 > Naim Audio Nait 3 > Mission 752 (plus Rega Planar 3 > Rega Fono Mini; Naim CD3)
    2 x Squeezebox Radios, 1 X Squeezebox 3 (retired), spare Pi2/piCorePlayer
    Office: LMS8.0.0 running on Raspberry Pi3; Raspberry Pi 3 player with touchscreen/piCorePlayer/IQaudIO DAC and Amp
    Portable: Raspberry Pi 3B/pCP6.1.0/LMS8.0.0/Material, files on Seagate portable drive, powered via power brick

  3. #3
    Senior Member
    Join Date
    Jul 2020
    Posts
    248
    Quote Originally Posted by Grumpy Bob View Post
    No you don't need to flatten the directory structure - at least that's the general file structure I use!
    I use the same structure as well. In principle, at least that's my understanding, the scan function uses the file tags to determine artist/genre/album, etc.. Only if those are not available it uses the file structure (this can be set in the LMS scanning preferences).

    I always use tagging software to clean up the tags before scanning (iTunes had made quite a mess of those, so it required a lot of fixing).

  4. #4
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,456
    Quote Originally Posted by jimbobs View Post
    Had an issue with scanning/rescanning my music library. I learned here that it was a permissions issue. Now I want to add other music files from a different hard drive. There are organised by Artist (directory), Album Name (sub-directory), Tracks. Do I need to flatten this directory structure to import into LMS?
    What tool do you intend to use to put new music onto LMS?
    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Boom
    Kitchen UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
    Everything controlled by iPeng & Material on iOS

  5. #5
    Junior Member
    Join Date
    Dec 2020
    Posts
    9
    Quote Originally Posted by d6jg View Post
    What tool do you intend to use to put new music onto LMS?
    I don't have a single library at present so have music scattered over a number of computers. My intention is to move all my music onto a USB connected harddrive (with a backup routine) and then clean up the library. So right now, I'm taking that drive from computer to computer. However, when I scan afterwards, the results are erratic. Sometimes, I get everything,sometimes a few tracks instead of a full album. I have used the "Set Write Permissions" button which has helped a lot but still not getting everything.

  6. #6
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,456
    Do you know how to use SSH on the Pi if so install WinSCP on one of your PCs. Connect to the Pi and navigate to the USB drive. Right click on the top level and set user / group accordingly (you’ll need to repeat the same user / group from a working folder) AND then tick the “recursively” option.
    This will change the permissions on the entire USB drive.
    You can use WinSCP to copy music across in future without pulling the USB and swapping it around.
    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Boom
    Kitchen UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
    Everything controlled by iPeng & Material on iOS

  7. #7
    Junior Member
    Join Date
    Dec 2020
    Posts
    9
    Quote Originally Posted by jeroen2 View Post
    ...
    I always use tagging software to clean up the tags before scanning (iTunes had made quite a mess of those, so it required a lot of fixing).
    What tagging software do you use? Picard was recommended to me. Some of my music was ripped by me from original CD's years ago and tags are all messed up. One particular set of 4 CD's with 80 tracks, shows up as 4 albums but only a few tracks on each for a total of 10 tracks.
    Last edited by jimbobs; 2021-01-04 at 16:03. Reason: More info.

  8. #8
    Senior Member
    Join Date
    Jul 2020
    Posts
    248
    Quote Originally Posted by jimbobs View Post
    What tagging software do you use? Picard was recommended to me. Some of my music was ripped by me from original CD's years ago and tags are all messed up. One particular set of 4 CD's with 80 tracks, shows up as 4 albums but only a few tracks on each for a total of 10 tracks.
    I uze Picard on a Mac. But found that in order for LMS to show multiple disk albums properly they need to be all in one folder, with tracks and disk numbers set correctly. (tag them first, then merge the folders).

  9. #9
    Senior Member
    Join Date
    May 2008
    Location
    United States, Florida
    Posts
    12,230
    Quote Originally Posted by jeroen2 View Post
    But found that in order for LMS to show multiple disk albums properly they need to be all in one folder
    I do not find the same. My multiDisc albums are organized with subdirectories under ALBUM directory. For example,

    Neil Young/
    .............../Archives Volume II/
    ........................................../Disc 1/
    .................................................. ../01 - track name
    ...
    ........................................../Disc 2/
    .................................................. .../01 - track name
    etc.

    These all show up in LMS as a single album (that is the 10 disk Neil Young Archives Vol. II shows up as a single album in LMS, even though each disk is in a separate directory). The disks have a Disk Number tag. And importantly, in LMS > Settings > My Music, I have set the "Group Discs" option to "treat multi-disc sets as a single album".

    edit: you might need to do a complete "clear and rescan" of your library after selecting this group disc option.
    Home: Pi4B-8GB/pCP7.x/4TB>LMS 8.1.x>Transporter, Touch, Boom, Radio (all ethernet)
    Cottage: rPi4B-4GB/pCP7.x/4TB>LMS 8.1.x>Touch>Benchmark DAC I, Boom, Radio w/Battery (Radio WIFI)
    Office: Win10(64)>foobar2000
    The Wild: rPi3B+/pCP4.0/4TB>hifiberry Dac+Pro (LMS & Squeezelite)
    Controllers: iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin, or SqueezePlay 7.8 on Win10(64)
    Files: Ripping: dbpoweramp > FLAC; Post-rip: mp3tag, PerfectTunes, TuneFusion; Streaming: Spotify

  10. #10
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,456
    Quote Originally Posted by garym View Post
    I do not find the same. My multiDisc albums are organized with subdirectories under ALBUM directory. For example,

    Neil Young/
    .............../Archives Volume II/
    ........................................../Disc 1/
    .................................................. ../01 - track name
    ...
    ........................................../Disc 2/
    .................................................. .../01 - track name
    etc.

    These all show up in LMS as a single album (that is the 10 disk Neil Young Archives Vol. II shows up as a single album in LMS, even though each disk is in a separate directory). The disks have a Disk Number tag. And importantly, in LMS > Settings > My Music, I have set the "Group Discs" option to "treat multi-disc sets as a single album".

    edit: you might need to do a complete "clear and rescan" of your library after selecting this group disc option.
    For this to work the ALBUM tag must be 100% identical across all 10 discs.
    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Boom
    Kitchen UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
    Everything controlled by iPeng & Material on iOS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •