View Full Version : how to write to a file?
Ron
October 13th, 2002, 12:55 PM
I think you really need to write a plugin youselfs for this. :smile: Writing to a file is soooo varied and so rarely used in Girder context that it I cannot spend my time on this.
Ron
October 13th, 2002, 12:55 PM
how to translate a dir *.avi>PrePlaylist.txt into a video playlist file?
AAh but then there still is good ol' DOS
dir /B *.avi > PrePlaylist.txt
voila, put this in an "Execute" action and be done with it :smile:
Ron
October 13th, 2002, 12:55 PM
I would write a separate little tool for this. I think that would make more sense.
giova
October 13th, 2002, 12:55 PM
i would like to know if as in pass it is not possible to :create, write to, edit, modify, delete a file?
And if not, will we have one day a file editor pluggin?
<font size=-1>[ This Message was edited by: giova on 2002-03-29 20:14 ]</font>
giova
October 13th, 2002, 12:55 PM
modified , and UPmoved :smile:
giova
October 13th, 2002, 12:55 PM
Unfortunatly, i am not a developer :sad:
i hope i'll be one... :smile:
But (about interest of a file editing possibility)let me know :
how to edit by our own an winamp playlist for example?
how to translate a dir *.avi>PrePlaylist.txt into a video playlist file?
how to edit ini files to change many application setting, just by pressing a remote key?
how to retreive severals datas from log files of many applications, to make few boring desktop user tasks automated by girder?
Well... how to edit a file and exploit the main memory of our computer : The Hard Drive?
if we just could read ASCII files and copy theyr content to use it with the GVMS, then write n save the ASCII file, it would be soooooooooooooooooooooooooooo POWERFULL!!!!
I dream of so many functions that i could create with that,so many possibilities .....
giova
October 13th, 2002, 12:55 PM
lol yes i know, that is why i wrote that :smile: !!!
I was asking how to CONVERT IT to a playlist?
i mean, if u just give preplaylist.txt to eat to a Video Player Software, of guess that the softwar will say no in best case, or will crash in worst case.
If we can edit this file to delete first lines (Current Volume is called blabla n its serial number is FF01D34E), n edit the rest of the file, so we will be able to create REAL playlist file.
Just imagine that u laucnh winamp, then osdmenu show u :
Replay Last PlayList
Discover new songs*
Create n Read a Playlist from current CD**
*In fact this option would create a playlist from the incoming mp3 folder.
**Same spirit, a playlist is made from a mp3 CD, then played.
Imagine, u don't have to edit playlist by ur own, u let girder do it for u :wink:
setting that u make so many time could be automated by this solution !!!
please think about all of it.
SouthyPar
October 13th, 2002, 12:55 PM
As for "a playlist is made from a mp3 CD, then played." there is a very fast WinAmp WM_USER message to do this, look in the Export Groups.
Tasks such as converting the current WinAmp Playlist into an OSDMenu Submenu can be done with a little batch programming. I used this rather cumbersome method until I found out that using MilkDrop as a frontend for WinAmp works a lot better (I'll post about this soon in the Tips Tricks & Hints forum).
Launching batch files from Girder in order to do file manipulation tasks is a very bad idea (believe me, I've tried it). It's way too slow and sluggish. If you know a little Visual Basic, you could possibly make your own custom tool, and that would probably be best for you.
Again, I maintain that media libary management for Winamp 2 is still best done via the AlbumList plugin. This would make tasks such as "Replay Last Playlist" very easy to implement.
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.