Playlist Creator Right Click For Rox

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

Playlist Creator Right Click For Rox

#1 Post by Smithy »

Playlist Creator Right Click For Rox

Hi was wondering how hard this might be to create for Rox.

Scenario Example: A folder full of unassorted tutorial videos in mp4, webm, flv, mkv.

Desired Ability:

1.Highlight Selected or all videos, sort by preference of date created, date modified, alphabetical ascending, descending, or size.
Basically, whatever one needs as options offered by Rox on the top bars.

2. Right Click Save as Playlist.

I reckon this method will be far more flexible, error free and robust than the internal playlist creators of the popular media players that are currently used in Puppy.

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#2 Post by seaside »

Smithy,

Perhaps this script will work in the rox openwith...

Code: Select all

#!/bin/bash
FILES="$@"
for f in $FILES
do
echo "$f" >>/path/myplaylist
done
exit
Cheers,
seaside

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#3 Post by Smithy »

Hi Seaside, thanks for your reply, and your code example.
It prompted me to have a look in rox.source/open with.
I see that there is already a mkplaylist file in there and it does seem to be producing
files (.asx, .pls) in a folder on a right click. I'll just have another look to see if it responds to sort criteria. Either way, it's got to be better than smplayer's two column playlist creator! Thanks.
Attachments
mkplaylist.png
(27.83 KiB) Downloaded 88 times

Post Reply