INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Trackless Library Folders  (Read 674 times)

Bigguy49

  • World Citizen
  • ***
  • Posts: 223
Trackless Library Folders
« on: May 31, 2022, 05:52:28 am »

Had occasion just recently to play back several albums from my music library.
When I clicked on the album in JRMC29 running on Win7 desktop, app indicated that it could not access the files?!
When I accessed the file folders in the source directory with Win Explorer, the folders contained only artwork...NO music files.
I DO know that albums can be deleted from MC several ways including removal from source library leaving only trackless folders.
However, I can honestly say that I did not knowingly delete these folders.
Questions...

1) Is there any scenario where this deletion could have inadvertently been done in MC?

2) Is there a function in JRMC29 which determines which folders in a music library are trackless folders?
Logged

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740
Re: Trackless Library Folders
« Reply #1 on: May 31, 2022, 09:46:43 am »

I recently had the same experience with 3 folders.
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

markf2748

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 825
Re: Trackless Library Folders
« Reply #2 on: May 31, 2022, 11:44:05 am »

2) Is there a function in JRMC29 which determines which folders in a music library are trackless folders?
Have you tried a smartlist?

For example, create one called "Audio -- Tasks -- No Tracks", with two rules:
Media Type | is | Audio
Total Tracks | is less than | 1

You might also try:
Total Tracks | is | 0
which I would expect to work, but sometimes MC is fussy about zeros.

Update:
Test:  I deleted all tracks in an existing album folder, leaving its two artwork sidecar files (*.jpg) intact.
The album disappears entirely from MC's Audio view and neither of the proposed smartlists found the folder. Apparently smartlists can only list files, not empty folders.
The artwork files remain visible in an MC Image view. 
Then I copied backup audio files to same folder, and MC finds audio tracks again.

MC 29.0.55   Win 11 (64-bit)
Logged

MusicBringer

  • Galactic Citizen
  • ****
  • Posts: 438
  • MC33.0.30 x64bit
Re: Trackless Library Folders
« Reply #3 on: May 31, 2022, 01:47:11 pm »

Under View there is an Audio Only Mode - does that impact what's happening here ❓
Logged
Caesar adsum jam forte. Brutus aderat. Caesar sic in omnibus. Brutus sic inat.

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2619
Re: Trackless Library Folders
« Reply #4 on: May 31, 2022, 02:08:54 pm »

2) Is there a function in JRMC29 which determines which folders in a music library are trackless folders?
There's no way, unless you also import other files (like the artwork) from that folder. MC doesn't track folders, just files that have a path.
To find those folders you need to run some custom scanning tool/script outside of MC.

Longshot: have you checked your Recycle Bin contents?
Logged

markf2748

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 825
Re: Trackless Library Folders
« Reply #5 on: May 31, 2022, 02:26:54 pm »

Under View there is an Audio Only Mode - does that impact what's happening here ❓
I would expect it only further limits the files that MC acknowledges.  It was not selected during my tests.

This smartlist does it, as long as there is an image file in the folder:
Media Type | is | Audio;Image
Total Tracks | is | 0

That lists image files (and hence their folders) for which the folder has no audio files.
Other file types could also be added.

Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2619
Re: Trackless Library Folders
« Reply #6 on: May 31, 2022, 02:39:15 pm »

That only works if you have imported the image files. For most users, the covers are there but are not actually imported into the library.
Also, "Total Tracks" is a tag like any other - image files usually won't have that tag set to any value. So the smartlist just returns audio or image files that don't have "Total Tracks" set, or it's set to zero, regardless of there being other audio files in the folder.
Logged

markf2748

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 825
Re: Trackless Library Folders
« Reply #7 on: May 31, 2022, 05:03:02 pm »

That only works if you have imported the image files. For most users, the covers are there but are not actually imported into the library.
Thanks for pointing that out.  In my workflow, all album artwork is saved both in the flac file headers and as sidecar files in album directories. Then I always import both audio and image files into my library.  As you say, that is not necessarily the case for other users.

Also, "Total Tracks" is a tag like any other - image files usually won't have that tag set to any value. So the smartlist just returns audio or image files that don't have "Total Tracks" set, or it's set to zero, regardless of there being other audio files in the folder.
Per the library field manager, [Total Tracks] is a built-in non-relational audio-only field.  It is usually auto-filled when MC rips a CD; otherwise I set it manually.  However, as you imply, [Total Tracks] is not updated automatically if the track count changes on disk.

FYI aside - new work flow:  Because [Total Tracks] is hard-wired with Flags=Audio, it is not visible in image views. To make the info globally available, I define a custom album-relational, standard edit type field [Total Tracks UNV] (UNV=my code for "universal"), with all Flags set. I manually initialize it to same value as [Total Tracks] in my audio tags panel.  MC then auto-writes it to both audio and image files (MC writes MJMD tags when the image file format allows it).  Note:  I do not define [Total Tracks UNV] to calculate [Total Tracks] in the library field manager, since MC reverts the former to non-relational in that case.

One reason why my last smartlist revealed directories without audio files is because those directories were set up that way intentionally (for example, an "extras" subfolder which only contains images and documents).  The smartlist also revealed data entry errors where "Total Tracks" was not set, as zybex mentioned.

Conclusion:  As far as I can tell, zybex is correct in that, sadly, the answer to OP 2) appears to be "no".

[edited 6/2/2022]
Logged
Pages: [1]   Go Up