summaryrefslogtreecommitdiffstats
path: root/amarok
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-04 00:38:19 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-11-04 00:38:19 -0500
commitd2812a09f0315279b86378c7cb02e28b54e21a36 (patch)
tree657c91947df630e967faf62ade32e33935ffe6ef /amarok
parent4e958b3385168688f6105c7db3f4e0623c9f1904 (diff)
downloadamarok-d2812a09f0315279b86378c7cb02e28b54e21a36.tar.gz
amarok-d2812a09f0315279b86378c7cb02e28b54e21a36.zip
Fix references to user profile directory.
Diffstat (limited to 'amarok')
-rw-r--r--amarok/src/amarok.h2
-rw-r--r--amarok/src/mountpointmanager.h4
-rw-r--r--amarok/src/scripts/amarok_live/amarok.live.remaster.part1.sh8
-rwxr-xr-xamarok/src/scripts/amarok_live/amarok_live.py4
-rw-r--r--amarok/src/scripts/databasescripts/backupDatabase.rb2
-rwxr-xr-xamarok/src/scripts/embedcover/embedcover.rb2
-rw-r--r--amarok/src/scripts/playlist2html/Playlist.py2
-rw-r--r--amarok/src/scripts/webcontrol/Playlist.py2
8 files changed, 13 insertions, 13 deletions
diff --git a/amarok/src/amarok.h b/amarok/src/amarok.h
index 18a52f10..be527630 100644
--- a/amarok/src/amarok.h
+++ b/amarok/src/amarok.h
@@ -116,7 +116,7 @@ namespace Amarok
};
/**
- * For saving files to ~/.kde/share/apps/amarok/directory
+ * For saving files to ~/.trinity/share/apps/amarok/directory
* @param directory will be created if not existing, you MUST end the string
* with '/'
*/
diff --git a/amarok/src/mountpointmanager.h b/amarok/src/mountpointmanager.h
index ed3c5794..1f22a56f 100644
--- a/amarok/src/mountpointmanager.h
+++ b/amarok/src/mountpointmanager.h
@@ -77,7 +77,7 @@ public:
/**
* returns the type of the DeviceHandler. Should be the same as the value used in
- * ~/.kde/share/config/amarokrc
+ * ~/.trinity/share/config/amarokrc
* @return a TQString describing the type of the DeviceHandler
*/
virtual TQString type() const = 0;
@@ -99,7 +99,7 @@ public:
/**
* returns the type of the DeviceHandler. Should be the same as the value used in
- * ~/.kde/share/config/amarokrc
+ * ~/.trinity/share/config/amarokrc
* @return a TQString describing the type of the DeviceHandler
*/
virtual TQString type() const = 0;
diff --git a/amarok/src/scripts/amarok_live/amarok.live.remaster.part1.sh b/amarok/src/scripts/amarok_live/amarok.live.remaster.part1.sh
index cf79134d..bfbd16a7 100644
--- a/amarok/src/scripts/amarok_live/amarok.live.remaster.part1.sh
+++ b/amarok/src/scripts/amarok_live/amarok.live.remaster.part1.sh
@@ -135,11 +135,11 @@ cp -a $WORK/amarok.livecd/* $WORK/amarok.live/
umount $WORK/amarok.livecd/
rmdir $WORK/amarok.livecd
-mkdir $WORK/amarok.live/home/amarok/.kde/share/apps/amarok/playlists
-chown 500:500 $WORK/amarok.live/home/amarok/.kde/share/apps/amarok/playlists
-find $WORK/amarok.live/home/amarok/.kde/share/apps/ -type d -print0 | xargs -0 chmod +x
+mkdir $WORK/amarok.live/home/amarok/.trinity/share/apps/amarok/playlists
+chown 500:500 $WORK/amarok.live/home/amarok/.trinity/share/apps/amarok/playlists
+find $WORK/amarok.live/home/amarok/.trinity/share/apps/ -type d -print0 | xargs -0 chmod +x
chmod -R 777 $WORK/amarok.live/music/
-chmod -R 777 $WORK/amarok.live/home/amarok/.kde/share/apps/amarok
+chmod -R 777 $WORK/amarok.live/home/amarok/.trinity/share/apps/amarok
#chmod -R 777 $WORK/mklivecd/
dcop --all-users amarok playlist popupMessage "Copying done. To add music to the Amarok livecd, select the tracks you wish to add in the playlist, and select \"Add to livecd\" from the right click menu. Please do not add more than about 380 mb, as then the resulting ISO will be too large to fit on a CD-ROM. Once you are done, select Create Remastered CD. Enjoy!"
diff --git a/amarok/src/scripts/amarok_live/amarok_live.py b/amarok/src/scripts/amarok_live/amarok_live.py
index 0aec5623..f482b490 100755
--- a/amarok/src/scripts/amarok_live/amarok_live.py
+++ b/amarok/src/scripts/amarok_live/amarok_live.py
@@ -268,7 +268,7 @@ class Remasterer( QApplication ):
self.dia = ConfigDialog()
path, iso = self.dia.readConfig()
- os.system("rm -rf %s/amarok.live/music/* %s/amarok.live/playlist/* %s/amarok.live/home/amarok/.kde/share/apps/amarok/current.xml" % (path, path, path))
+ os.system("rm -rf %s/amarok.live/music/* %s/amarok.live/playlist/* %s/amarok.live/home/amarok/.trinity/share/apps/amarok/current.xml" % (path, path, path))
def onSignal( self, signum, stackframe ):
stop()
@@ -326,7 +326,7 @@ class Remasterer( QApplication ):
import random
suffix = random.randint(0,10000)
-# os.system("mkdir %s/amarok.live/home/amarok/.kde/share/apps/amarok/playlists/" % path)
+# os.system("mkdir %s/amarok.live/home/amarok/.trinity/share/apps/amarok/playlists/" % path)
m3uOut = open("/tmp/amarok.live.%s.m3u" % suffix, 'w')
m3u = m3u.strip()
diff --git a/amarok/src/scripts/databasescripts/backupDatabase.rb b/amarok/src/scripts/databasescripts/backupDatabase.rb
index f8129a00..03d79757 100644
--- a/amarok/src/scripts/databasescripts/backupDatabase.rb
+++ b/amarok/src/scripts/databasescripts/backupDatabase.rb
@@ -56,7 +56,7 @@ case database
filename = getFilename( filename )
dest = destination + "/" + filename
puts dest
- `cp ~/.kde/share/apps/amarok/collection.db #{dest}`
+ `cp ~/.trinity/share/apps/amarok/collection.db #{dest}`
when "1" # mysql
filename = "amarokdb.mysql"
diff --git a/amarok/src/scripts/embedcover/embedcover.rb b/amarok/src/scripts/embedcover/embedcover.rb
index 88f11696..ba18f90f 100755
--- a/amarok/src/scripts/embedcover/embedcover.rb
+++ b/amarok/src/scripts/embedcover/embedcover.rb
@@ -74,7 +74,7 @@ loop do
end
md5sum = MD5.hexdigest( "#{artist.downcase()}#{album.downcase()}" )
- imagefolder = "#{ENV['HOME']}/.kde/share/apps/amarok/albumcovers/large/"
+ imagefolder = "#{ENV['HOME']}/.trinity/share/apps/amarok/albumcovers/large/"
image = "#{imagefolder}#{md5sum}"
puts( "Imagepath: #{image}" )
diff --git a/amarok/src/scripts/playlist2html/Playlist.py b/amarok/src/scripts/playlist2html/Playlist.py
index cd0e747c..fad92173 100644
--- a/amarok/src/scripts/playlist2html/Playlist.py
+++ b/amarok/src/scripts/playlist2html/Playlist.py
@@ -6,7 +6,7 @@ from xml.dom import minidom
# the current.xml file
-PLAYLISTFILE = "%s/.kde/share/apps/amarok/current.xml"%(user.home)
+PLAYLISTFILE = "%s/.trinity/share/apps/amarok/current.xml"%(user.home)
# the fields to be shown via http
FIELDS = ("Artist", "Title", "Album", "Track", "Length", "Genre", "Score" )
diff --git a/amarok/src/scripts/webcontrol/Playlist.py b/amarok/src/scripts/webcontrol/Playlist.py
index b26a8f8d..e2d888c6 100644
--- a/amarok/src/scripts/webcontrol/Playlist.py
+++ b/amarok/src/scripts/webcontrol/Playlist.py
@@ -18,7 +18,7 @@ import string
import Globals
# the current.xml file
-PLAYLISTFILE = "%s/.kde/share/apps/amarok/current.xml"%(user.home)
+PLAYLISTFILE = "%s/.trinity/share/apps/amarok/current.xml"%(user.home)
# the fields to be shown via http
FIELDS = ("TrackNo", "Title", "Artist", "Album", "Length", "Rating")