Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: "Album List" tab, "by folder structure" doesn't quite work for the media library (Read 1640 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

"Album List" tab, "by folder structure" doesn't quite work for the media library

foobar2000 v2.1.5 [x64]

I have these SMB shared folder paths configured in the Media Library of foobar2000:

  • \\192.168.1.12\music\AmigaRemix\
  • \\192.168.1.12\music\Anzen Chitai\
  • \\192.168.1.12\music\Audi Tracks I\
  • \\192.168.1.12\music\Audi Tracks II\
  • \\192.168.1.12\music\C64Audio Classics\
  • \\192.168.1.12\music\Classical\
  • \\192.168.1.12\music\drivexv\
  • \\192.168.1.12\music\Dwelling of Duels\
  • \\192.168.1.12\music\G.Bevin - Eigenharp Sketches of 2011\
  • \\192.168.1.12\music\Gangstagrass\
  • \\192.168.1.12\music\Hardjet Playground Podcasts\
  • \\192.168.1.12\music\Linn - 24-Bits of Christmas\
  • \\192.168.1.12\music\OCReMix\
  • \\192.168.1.12\music\OKX\
  • \\192.168.1.12\music\Open Music Contest - Sampler #1\
  • \\192.168.1.12\music\Open Music Contest - Sampler #2\
  • \\192.168.1.12\music\Open Music Contest - Sampler #3\
  • \\192.168.1.12\music\Open Music Contest - Sampler #4\
  • \\192.168.1.12\music\Pimp my Rights (Volume 1)\
  • \\192.168.1.12\music\Quest mix aug 2013\
  • \\192.168.1.12\music\remix.kwed.org\
  • \\192.168.1.12\music\remix.thasauce.net\
  • \\192.168.1.12\music\The Sonic Stadium\
  • \\192.168.1.12\music\trndtunes1.0\
  • \\192.168.1.12\music\trndtunes2.0\
  • \\192.168.1.12\music\trndtunes2.1\
  • \\192.168.1.12\music\trndtunes3.0\
  • \\192.168.1.12\music\trndtunes3.1\
  • \\192.168.1.12\music\trndtunes3.2\
  • \\192.168.1.12\music\trndtunes3.3\
  • \\192.168.1.12\music\trndtunes3.4\
  • \\192.168.1.12\music\trndtunes4.0\
  • \\192.168.1.12\music\trndtunes4.1\
  • \\192.168.1.12\music\trndtunes4.2\
  • \\192.168.1.12\music\trndtunes4.3\
  • \\192.168.1.12\music\VG Music\
  • \\192.168.1.12\music\Wir haben bezahlt\

However, in the "Album List" tab of the main foobar2000 window, it's a complete mess because foobar2000 mixes them all together.


I suspect this is because foobar2000 hasn't grouped them by the first level of each shared folder path.

Could we get an option so that foobar2000 keeps each shared folder separate in the "Album List" view?

 

Re: "Album List" tab, "by folder structure" doesn't quite work for the media library

Reply #1
Going on the assumption that the listed paths contain all your music (there are no paths not accounted for):

I believe to achieve what you are after in the albums list tab you can just cut the path at
Code: [Select]
\\192.168.1.12\music\

Re: "Album List" tab, "by folder structure" doesn't quite work for the media library

Reply #2
Going on the assumption that the listed paths contain all your music (there are no paths not accounted for):

I believe to achieve what you are after in the albums list tab you can just cut the path at
Code: [Select]
\\192.168.1.12\music\
This would work only if \\192.168.1.12\music\ contains exactly all and only music that I want in my Media Library.
It wouldn't work if:
  • there is music on other servers or on my local machine that I want to add; or
  • there is music in \\192.168.1.12\music\ that I don't want to include in my Media Library.

Re: "Album List" tab, "by folder structure" doesn't quite work for the media library

Reply #3
Hence the assumption, evidently this is not your case. I also realise my previous response doesn't actually stop the meshing of the top level. Apologies.

The following solution should keep separate the top level, and resolve your second point. But I'll have to need a more in-depth look into it to see if there is a way to resolve your first point

In the preferences tab in Album list (Media Library -> Album List) you should see the list of views you can sort the Album List by.

Add a new view with whatever name and add the following
Code: [Select]
$replace($substr(%path%,21,999),\,|)|%filename_ext%

You may need to adjust the starting point of substring (21) of the files to properly match the path.

I theorise a better solution may be accomplished by using something other than $substr, but as I said I'll have to investigate further