PDA

View Full Version : New shortcuts placed in my music folder point straight back to my music folder!



Ronnyjoz
2008-08-24, 04:12
Greetings

I got my Squeezebox Classic yesterday after experimenting with SqueezeCenter and Softsqueeze for about a week or so. I understand that if I want SqueezeCenter to find music that's not in the default music folder it's simply a matter of creating a shortcut to the desired location. Unfortunately this isn't working for me. Here's the scenario:

A great deal of music files are currently stored in my Sims2\Music folder; this is a game that won't recognise shortcuts so the files have to be physically located there. Not a problem, you might think. Just place a shortcut in my Music folder (which we'll call 'C:\Users\Ronny\Music' - username changed to protect the innocent) that points to 'C:\Users\Ronny\Documents\EA Games\The Sims 2\Music'. From these paths you'll glean that I'm using Vista: if it has a bearing I'm using Vista Ultimate 32bit. Anyway, shortcut created: if I double-click on it from within Windows Explorer it takes me to the right place. Pointing Squeezecenter to 'C:\Users\Ronny\Music', clearing the library and rescanning causes something weird to happen. If I browse the library by 'Music Folder' my new shortcut (which we'll call "Sims Music") is not there. Instead there's a new entry called simply "Music" which just points to the directory I'm already in. Interestingly the Sample Music shortcut, created by Windows and pointing to 'C:\Users\Public\Music\Sample Music' works fine; it's just any new shortcuts I create that are affected.

So I created a new folder on my desktop called "New Folder" and created my shortcut in there. Same thing: a link to "New Folder" that takes me where I already am. If I copy the "Sample Music" shortcut into my new folder, this works fine. If I create a new shortcut to 'C:\Users\Public\Music\Sample Music' it creates a link to "Music", within which is a working link to "Sample Music".

Here's a sample from my scanner log if it helps decipher what's going on.


[08-08-24 11:22:15.5853] Slim::Utils::Misc::pathFromWinShortcut (345) Error: Bad path in C:\Users\Ronny\Desktop\New Folder\Music - Shortcut.lnk - path was: []
[08-08-24 11:22:15.5868] Slim::Utils::Scanner::findFilesMatching (153) Warning: Found an infinite loop! Breaking out: C:\Users\Ronny\Desktop\New Folder -> C:\Users\Ronny\Desktop\New Folder
[08-08-24 11:54:35.2545] Slim::Utils::Misc::pathFromWinShortcut (345) Error: Bad path in C:\Users\Ronny\Desktop\New Folder\Music - Shortcut.lnk - path was: []
[08-08-24 11:54:35.2560] Slim::Utils::Scanner::findFilesMatching (153) Warning: Found an infinite loop! Breaking out: C:\Users\Ronny\Desktop\New Folder -> C:\Users\Ronny\Desktop\New Folder
[08-08-24 11:55:42.9185] Slim::Utils::Misc::pathFromWinShortcut (345) Error: Bad path in C:\Users\Ronny\Desktop\New Folder\Music - Shortcut (2).lnk - path was: []
[08-08-24 11:55:42.9201] Slim::Utils::Scanner::findFilesMatching (153) Warning: Found an infinite loop! Breaking out: C:\Users\Ronny\Desktop\New Folder -> C:\Users\Ronny\Desktop\New Folder
[08-08-24 11:55:42.9224] Slim::Utils::Misc::pathFromWinShortcut (345) Error: Bad path in C:\Users\Ronny\Desktop\New Folder\Music - Shortcut.lnk - path was: []
[08-08-24 11:55:42.9234] Slim::Utils::Scanner::findFilesMatching (153) Warning: Found an infinite loop! Breaking out: C:\Users\Ronny\Desktop\New Folder -> C:\Users\Ronny\Desktop\New Folder
[08-08-24 11:56:39.3789] Slim::Utils::Misc::pathFromWinShortcut (345) Error: Bad path in C:\Users\Ronny\Desktop\New Folder\Music - Shortcut (2).lnk - path was: []
[08-08-24 11:56:39.3807] Slim::Utils::Scanner::findFilesMatching (153) Warning: Found an infinite loop! Breaking out: C:\Users\Ronny\Desktop\New Folder -> C:\Users\Ronny\Desktop\New Folder
[08-08-24 11:56:39.3855] Slim::Utils::Misc::pathFromWinShortcut (345) Error: Bad path in C:\Users\Ronny\Desktop\New Folder\Music - Shortcut.lnk - path was: []
[08-08-24 11:56:39.3865] Slim::Utils::Scanner::findFilesMatching (153) Warning: Found an infinite loop! Breaking out: C:\Users\Ronny\Desktop\New Folder -> C:\Users\Ronny\Desktop\New Folder
[08-08-24 11:58:13.4783] Slim::Utils::Misc::pathFromWinShortcut (345) Error: Bad path in C:\Users\Ronny\Desktop\New Folder\Music - Shortcut (2).lnk - path was: []
[08-08-24 11:58:13.4799] Slim::Utils::Scanner::findFilesMatching (153) Warning: Found an infinite loop! Breaking out: C:\Users\Ronny\Desktop\New Folder -> C:\Users\Ronny\Desktop\New Folder
[08-08-24 11:58:13.4830] Slim::Utils::Misc::pathFromWinShortcut (345) Error: Bad path in C:\Users\Ronny\Desktop\New Folder\Music - Shortcut.lnk - path was: []
[08-08-24 11:58:13.4842] Slim::Utils::Scanner::findFilesMatching (153) Warning: Found an infinite loop! Breaking out: C:\Users\Ronny\Desktop\New Folder -> C:\Users\Ronny\Desktop\New Folder
[08-08-24 11:59:59.3061] Slim::Utils::Misc::pathFromWinShortcut (345) Error: Bad path in C:\Users\Ronny\Desktop\New Folder\Music - Shortcut (2).lnk - path was: []
[08-08-24 11:59:59.3084] Slim::Utils::Scanner::findFilesMatching (153) Warning: Found an infinite loop! Breaking out: C:\Users\Ronny\Desktop\New Folder -> C:\Users\Ronny\Desktop\New Folder
[08-08-24 11:59:59.3108] Slim::Utils::Misc::pathFromWinShortcut (345) Error: Bad path in C:\Users\Ronny\Desktop\New Folder\Music.lnk - path was: []
[08-08-24 11:59:59.3118] Slim::Utils::Scanner::findFilesMatching (153) Warning: Found an infinite loop! Breaking out: C:\Users\Ronny\Desktop\New Folder -> C:\Users\Ronny\Desktop\New Folder


Sorry for the long post, especially as it's my first one.

Nonreality
2008-08-24, 04:27
You could create a practice music folder to try it on. Just put a few albums in it like you would like and rescan. Make sure you do a complete rescan. That way you can try things and see if you can get it to work. Put shortcuts pointing to your main one or create different levels and then play around with your shortcuts. I've used this a few times to get something right. . At least it will rescan fast and easy

Ronnyjoz
2008-08-24, 04:50
That's basically what I did by creating a folder on the desktop. Any shortcuts I create just point to the folder they're in. Copies of windows-created shortcuts work fine.

Would it be worth clearing the cache? If so, do I delete the entire cache folder ('C:\ProgramData\SqueezeCenter\Cache')or just its contents?

Siduhe
2008-08-24, 04:58
How are you creating the Shortcut - using the Wizard or manually?

If manually, IIRC you must to create the shortcut in the folder that you want to link to, (C:\Users\Ronny\Documents\EA Games\The Sims 2\Music in your example) for it to work properly, then cut and paste it to your Music folder. It's a quirk of Vista. From your description you may well be doing this, but thought I would mention.

Otherwise, do any of the folder names have any non-Western standard characters (accents, umlauts etc)?

Ronnyjoz
2008-08-24, 09:58
I've tried all methods: right-dragging the destination folder into the Music folder and Choosing 'Create shortcuts here'; right-clicking inside the Music folder and using the New Shortcut wizard to browse to the destination; copying the shortcut that does work and then editing it to point somewhere else. I've just tried your suggestion of creating the shortcut within the destination folder and then moving it. None of the above work.

I have discovered something new, however. If I create a folder within the Public folder and put music files in there, any shortcuts pointing to that folder work fine. So it looks like another one of those annoying and incomprehensible Vista permissions issues. Looking at the properties for the Sims2\Music folder it doesn't look any different to any folder that works - it has full permissions for everyone. I've also tried making it a shared folder but that still doesn't work.

For any music files located anywhere within the 'C:\Users\Ronny' directory, pointing a shortcut at them doesn't work. they have to be in the folder that SqueezeCenter is pointed at.

Nonreality
2008-08-24, 12:53
I've tried all methods: right-dragging the destination folder into the Music folder and Choosing 'Create shortcuts here'; right-clicking inside the Music folder and using the New Shortcut wizard to browse to the destination; copying the shortcut that does work and then editing it to point somewhere else. I've just tried your suggestion of creating the shortcut within the destination folder and then moving it. None of the above work.

I have discovered something new, however. If I create a folder within the Public folder and put music files in there, any shortcuts pointing to that folder work fine. So it looks like another one of those annoying and incomprehensible Vista permissions issues. Looking at the properties for the Sims2\Music folder it doesn't look any different to any folder that works - it has full permissions for everyone. I've also tried making it a shared folder but that still doesn't work.

For any music files located anywhere within the 'C:\Users\Ronny' directory, pointing a shortcut at them doesn't work. they have to be in the folder that SqueezeCenter is pointed at.

I don't use Vista but is there maybe a "path" type statement you could use?

amcluesent
2008-08-24, 13:33
I prefer to use NTFS junction points to pull together various directories on different drives into a root directory for Squeezecentre - http://en.wikipedia.org/wiki/NTFS_junction_point.

Ronnyjoz
2008-09-08, 00:32
I don't use Vista but is there maybe a "path" type statement you could use?

Using a network path (\\RONNY-PC\ instead of C:\) does seem to work. I do still have albumns listed multiple times with different numbers of tracks (sometimes only one track), and all the albums have the wrong artwork, but both those issues existed before. I can keep digging till I work that one out. Thanks for your help.