Post Reply 
playlists changed after minim refresh
24-05-2025, 12:02 (This post was last modified: 24-05-2025 13:39 by simbun.)
Post: #27
RE: playlists changed after minim refresh
(24-05-2025 11:19)AnthonyEd Wrote:  The Minimserver content directory is /volume1/Music1/Music7

So I changed my script to read as follows:

# conversion locations
$sourceDirectory = "\volume1\Music1\Music7\MyPlaylists\toconvert"
$targetDirectory = "\volume1\Music1\Music7\MyPlaylists\converted"

# MinimServer content directory
$contentDirectory = @('\volume1\Music1\Music7'
)

# indexed playlist directory
$playlistFolder = '\volume1\Music1\Music7\MyPlaylists2'

The sourceDirectory and targetDirectory need to be locally addressable (processed in powershell) so go back to using the M:\ drive (they don't need to reside on the remote share they could be on C:\).

I think you're also using the old script so could you try with the new one (even though the old one should work with this setup).

(24-05-2025 11:19)AnthonyEd Wrote:  Still not sure what playlistfolder does. The playlists are not stored anywhere as such. They are created in Bubble and then I move them manually to Minimserver. In this case I've moved them to both the $playlistFolder location and also the $sourceDirectory location just in case.
The playlistFolder is where you intend to store the converted playlists (to be indexed by MinimServer). The script needs to know where your tracks are (contentDirectory + source playlists) in relation to the playlist (playlistFolder) so it can use relative paths. A decent explainer of absolute vs relative paths and the benefits can be found here (substitute 'current working directory' with 'playlist').

Having run the code against the URLs you sent me yesterday the output should look like:
Code:
..\Music\1_Various\Various Library\Various - Esterno Giorno D'Estate\...
..\Music\1_Various\The Mood Mosaic\The Mood Mosaic 05. Supervixens\...
..\Music\1_Various\The Mood Mosaic\The Mood Mosaic 18. The Shape Of Things\...
..\Music\1_Various\Various Library\Various - Esterno Giorno D'Estate\...
..\Music\1_Various\Cometa Edizioni Musicali\CMT 2 - Pulsar Music Ltd. - Pulsar Music Ltd. (1976) (OST to Milano Violenta)\...

EDIT: Obviously you don't want the temporary playlists stored in a location that MinimServer will index.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: playlists changed after minim refresh - simbun - 24-05-2025 12:02

Forum Jump:


User(s) browsing this thread: 1 Guest(s)