This forum has been archived. All content is frozen. Please use KDE Discuss instead.

playlist2html w/o specify path each time

Tags: None
(comma "," separated)
Michael Mitton
Registered Member
Posts
30
Karma
0
I\'ve been using the script playlist2html, and since I always want the html page to go to the same place on my website, I didn\'t want to have to specify the path and filename each time I ran, or click on the confirm button every time I ran it.

So, the change to the script is easy. Select the playlist2html.py script, and choose \"edit\". An editor will pop up. Comment out the lines that begin \"stdin =\" and \"dest =\" by putting \"#\" at the beginning (no quotes) Then, add a new line that says:

dest = \"/path/to/directory/you/want/filename.html\"

Now the script will always save the html playlist at that location.

If you don\'t want to click on the confirm button every time it successfully saves the playlist, comment out the lined that begins \"os.system(\"dialog --msgbox\", again with a # sign.

One last thing, depending on how you installed amaroK, you may need to have root permissions to save the edits to the python script. FYI.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient