Reply To: ‘idx’ and ‘disable’ fields in database

#10056
rpedde
Participant

@fizze wrote:

ok, my bad then 😉
‘should have checked the create statement before blurting stuff out…. 😳

Anywho, maybe this is meant to identify links or iTunes dot files that just link to another idx…. *shrug*

I’ve never actually seen use for that.
Peculiar though, as to why it is ‘NOT NULL’ and set to zero everytime….
🙄

path + idx are a composite index.

For example, if there was an audio iso and I wanted to index the tracks in the iso, it would be /path/to/iso,0 and /path/to/iso,1, etc.

I haven’t used it yet, but it’s there to support single files with multiple audio tracks, as well as scripts that generate db items.

As far as disabled, that’s the iTunes checkbox. The SB isn’t supposed to play “unchecked” items. Or has a prefs option for it, anyway.