You are here

Spotify 0.4.3 portable - dev test 1 - stopped

9 posts / 0 new
Last post
jphweb
Offline
Last seen: 13 years 3 weeks ago
Joined: 2010-07-31 07:37
Spotify 0.4.3 portable - dev test 1 - stopped

Sorry this is not avilable due to spotify terms of use.

Thanks

Mark Sikkema
Offline
Last seen: 13 years 2 months ago
Developer
Joined: 2009-07-20 14:55
Hi jphweb,

I had a go on this, only to find out I have to register, which I did not, and I closed it again.

A few things:

1. You should get your forum-topic layout set-up as discriped here
2. I done a regshot, and a fair few things where left behind
3. Your launcher.ini has got the following setting, I do not think that is right

[DirectoriesCleanupForce]
 1=%APPDATA%\..\local\spotify

Probably should be something like (looking at the regshot):

[Activate]
Registry=true

[RegistryKeys]
-=HKLM\SOFTWARE\Classes\spotify

[DirectoriesMove]
settings=%APPDATA%\Spotify\settings

[DirectoriesCleanupForce]
1=%APPDATA%\spotify
2=%LOCALAPPDATA%\spotify

Note: that I did not test this, and I did not run Spotify fully.

Formerly Gringoloco
Windows XP Pro sp3 x32

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
LOCALAPPDATA

It looks to me like he's trying to get to %USERPROFILE%\AppData\Local - that's LOCALAPPDATA in PAL (refer to the manual).

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

Mark Sikkema
Offline
Last seen: 13 years 2 months ago
Developer
Joined: 2009-07-20 14:55
Sorry, one

Sorry, one change:

[DirectoriesForceCleanUp] is not very safe to use, as spotify could locally be installed !
As an alternative you can use:

[DirectoriesMove]
settings=%APPDATA%\Spotify\Settings
Gracenote=%APPDATA%\Spotify\Settings\Gracenote
-=%LOCALAPPDATA%\spotify

the minus, indicates the launcher to backup the local folders, and when exiting to restore them, it just doesn't copy them to the portable Data folder.

Maybe you have to use [DirectoriesCleanupIfEmpty] on %APPDATA%\Spotify, but I think the launcher takes care of it automaticly

You just need to play with it a bit, and use regshot to see any changes made to the system

Formerly Gringoloco
Windows XP Pro sp3 x32

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Didn't read

I didn't read all of your post and missed that last line of yours.

[DirectoriesMove] should not be used with settings; that's the one directory which is not safe to move. I think I'll put in an alert for 2.1 to avoid a mistake there at all.

The Gracenote value there should not be like that; it's already being done by the line above.

It seems to me unlikely that %LOCALAPPDATA%\Spotify is really not wanted. I think either %APPDATA%\Spotify is meant, or %LOCALAPPDATA%\Spotify for all of them. It may be mixed but that's far less common.

(I still haven't looked at the original source code.)

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

jphweb
Offline
Last seen: 13 years 3 weeks ago
Joined: 2010-07-31 07:37
OS

May I ask what os you are using?
When I tried this on windows 7 64 bit total uninstaller said there was no change to the registery.

Plus the folder in appdata is storage it is computer dependant and only useful for spotify mobile sync.

But I will edit it to your advice.

Mark Sikkema
Offline
Last seen: 13 years 2 months ago
Developer
Joined: 2009-07-20 14:55
Could it be that you didn't

Could it be that you didn't see any change due to the fact that the classes registry keys where already present?

Anyway, I advise you to do some testing (and playing around) with the suggestions, as I just tried to indicate what and how you could solve the issue(s).

I wrote the above launcher.ini settings in a bit of a hurry and am sure I made at least two mistakes Sad :

[DirectoriesMove]
SpotifySettings=%APPDATA%\Spotify\Settings
Gracenote=%APPDATA%\Spotify\Gracenote
-=%LOCALAPPDATA%\Spotify

Formerly Gringoloco
Windows XP Pro sp3 x32

shadowforce62
Offline
Last seen: 9 years 10 months ago
Joined: 2014-12-15 10:48
Win?

I'm not a pro with mac but in 99.9% sure that %AppData% is a windows only thing... im not 100% sure... because i don't know enough about mac but i have knowledge that mac (if it had a %AppData% wouldn't use it often...)

jphweb
Offline
Last seen: 13 years 3 weeks ago
Joined: 2010-07-31 07:37
%appdata%\..

This is correct.

%Localappdata% did not work

Log in or register to post comments