Command for mp3 users
-
- Posts: 1075
- Joined: 30 May 2008 21:02
- Location: Lake Erie
Command for mp3 users
Since choosing a number of mp3's is so easily done using Sticky Selection how about augmenting that with a command that would create a m3u from those files?
Re: Command for mp3 users
if you open a mu3 in notepad you'll see that it is a simple list of pathaurumdigitus wrote:Since choosing a number of mp3's is so easily done using Sticky Selection how about augmenting that with a command that would create a m3u from those files?
probably an easy task for a script (for those who know)
Calude
I would use such a script also
-
- XY Blog Master
- Posts: 5824
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Command for mp3 users
Agree that this would be much better suited for a script as it's getting into the area of file editing vs file mgmt to me.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
- Posts: 1075
- Joined: 30 May 2008 21:02
- Location: Lake Erie
Re: Command for mp3 users
A script would be fine! Would one of the xy cognoscenti care to come forward and provide one?
-
- Posts: 3358
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Command for mp3 users
Yep, I use it too:
Update: If you want to have your M3Us in a folder other than the source of MP3s then we have to use the entire path of the mp3s. In that case use this:
You can then copy the m3u file anywhere and it will still work. The downside is if you copy your source files to some other place or have it on USB where drive letters will change then the second script wont work.
Code: Select all
/*
Write (Writefile) m3u file based on current selection (getinfo("SelectedItemsNames")).
<curfolder>=m3u filename is name of the folder.
o= Older m3u file with same name is overwritten.
*/
Writefile ("<curfolder>.m3u", getinfo("SelectedItemsNames"), o);
Code: Select all
//For storing m3us other than the source of mp3s
Writefile ("<curfolder>.m3u", getinfo("SelectedItemsPathNames"), o);
-
- Posts: 1075
- Joined: 30 May 2008 21:02
- Location: Lake Erie
Re: Command for mp3 users
Serendipity, thank you for sharing your efforts with those of us who may be "script impaired". ctb11 will now be the emissary of your labor.
-
- XY Blog Master
- Posts: 5824
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Command for mp3 users
serendipity, might you create a thread in 'Script Exchange' for this as well? So that it can be found easier in the future...thanks!
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
Re: Command for mp3 users
Perhaps we should go a step further and consolidate all sources of scripts (Script Exchange forum, XYplorer Help file, Wiki, users' own collections) in one place with proper documentation, tags that would make it easier to search and upload capabilities so ZIPs and screenshots could be uploaded. In particular, this could be especially useful for CTB lovers out there, where a complete package (code, any other supporting files and an icon file) could be posted for public benefit.j_c_hallgren wrote:serendipity, might you create a thread in 'Script Exchange' for this as well? So that it can be found easier in the future...thanks!
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
- XY Blog Master
- Posts: 5824
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Command for mp3 users
That's the ideal but I certainly don't have the time/ability to do it and kinda doubt anyone else does either so the best I can hope for at this point is to extract any embedded scripts (even small ones like this) from Wish/TTQA threads into the Script Exchange sub-forum at least...zer0 wrote:Perhaps we should go a step further and consolidate all sources of scripts (Script Exchange forum, XYplorer Help file, Wiki, users' own collections) in one place with proper documentation, tags that would make it easier to search and upload capabilities so ZIPs and screenshots could be uploaded.
The wiki would be another place to place them but not everyone is comfortable with editing that, so it might be an auxiliary location.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
Re: Command for mp3 users
Thanks to jacky there is already such a place: http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=3356zer0 wrote:Perhaps we should go a step further and consolidate all sources of scripts (Script Exchange forum, XYplorer Help file, Wiki, users' own collections) in one place with proper documentation, tags that would make it easier to search and upload capabilities so ZIPs and screenshots could be uploaded.
Maybe not with all the features you mentioned but it's a start.
-
- Posts: 3358
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Command for mp3 users
Yep, thats true. Here it is:Pagat wrote:Thanks to jacky there is already such a place: http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=3356zer0 wrote:Perhaps we should go a step further and consolidate all sources of scripts (Script Exchange forum, XYplorer Help file, Wiki, users' own collections) in one place with proper documentation, tags that would make it easier to search and upload capabilities so ZIPs and screenshots could be uploaded.
Maybe not with all the features you mentioned but it's a start.
http://88.191.26.34/XYscripts/
Re: Command for mp3 users
Now that's useful. Thanksserendipity wrote:Yep, thats true. Here it is:Pagat wrote:Thanks to jacky there is already such a place: http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=3356zer0 wrote:Perhaps we should go a step further and consolidate all sources of scripts (Script Exchange forum, XYplorer Help file, Wiki, users' own collections) in one place with proper documentation, tags that would make it easier to search and upload capabilities so ZIPs and screenshots could be uploaded.
Maybe not with all the features you mentioned but it's a start.
http://88.191.26.34/XYscripts/