Situation: music library on a USB drive, switched between Mac and Win machines with the appropriate versions of VDJ on them. So far, so good.
Problem: Providing easy access to curated collections from the library, created outside VDJ.
Solution 1: Set up folders alongside the library, one for each collection, containing hard links to the desired files. This works well, and is portable, BUT search within VDJ reports multiple instances of the same track, and if one is played the other instances don't get updated with last played statistics.
Solution 2: Set up .m3u playlists for each collection. This would (I presume) solve the multiple instances issues, but VDJ requires each entry in each playlist to be an absolute path (not relative), and the path formats are different between Mac and Win file systems. I think I can solve this by including both formats in the playlists (half of which will be invalid for either Mac or Win), but for Win the path requires a drive letter and that may be inconsistent when plugged into a Win system (Mac uses the drive label).
Anybody got any clever ideas? Relative paths would help!
Problem: Providing easy access to curated collections from the library, created outside VDJ.
Solution 1: Set up folders alongside the library, one for each collection, containing hard links to the desired files. This works well, and is portable, BUT search within VDJ reports multiple instances of the same track, and if one is played the other instances don't get updated with last played statistics.
Solution 2: Set up .m3u playlists for each collection. This would (I presume) solve the multiple instances issues, but VDJ requires each entry in each playlist to be an absolute path (not relative), and the path formats are different between Mac and Win file systems. I think I can solve this by including both formats in the playlists (half of which will be invalid for either Mac or Win), but for Win the path requires a drive letter and that may be inconsistent when plugged into a Win system (Mac uses the drive label).
Anybody got any clever ideas? Relative paths would help!
Posted Fri 02 Aug 24 @ 11:52 pm
Relative paths in m3u should work too
Posted Sat 03 Aug 24 @ 5:32 am
Okay, thanks. I'll have another go. Relative didn't seem to work, but it could be that I used \ rather than / and upset the Mac path. More experimenting required, I'll report back.
Posted Sat 03 Aug 24 @ 6:37 am
This is only an idea, but I think with Online Source plugin (https://virtualdj.com/wiki/Plugins_SDKv8_Example7.html) it should be possible to implement this.
Tracks for Online Source plugin have paths with format
netsearch://plugin-<PluginName>/<PathToTrack>
By setting "root" folder in plugin configuration, <PathToTrack> will be relative.
The major drawback of this approach is necessity of compiling plugin for macOS and Windows.
Tracks for Online Source plugin have paths with format
netsearch://plugin-<PluginName>/<PathToTrack>
By setting "root" folder in plugin configuration, <PathToTrack> will be relative.
The major drawback of this approach is necessity of compiling plugin for macOS and Windows.
Posted Sat 03 Aug 24 @ 8:09 am





