Description: This script shows the text files from the same directory of a song which makes it mostly useful for checking the information contained in an album directory.
When starting up the script, you can right click on a song in your playlist and select "txtView > Open". This will popup the dialog.
Within the dialog you can show the files through the menu and open them with your favorite application. For example you can edit them with GVIM or open an M3U/PLS file in XMMS Note: the run dialog doesn't let you pass arguments to the apps, so opening the file with vi in a terminal is not possible.
If you are looking for the font Lucida Console P, get into your ~/.fonts directory and wget http://home.online.no/~aageli/luconP.ttf
-- Help Needed -- I don't know how to set the height of a line in the QTextEdit object. If you have pointers, please leave a message, thank you.Last changelog:
* 0.0.4 2005-02-09 - Option Wrap/No Wrap and Fixed/non fixed chars in the menu - Using the built-in functions from Python unlike the QDir/file/etc... - Open With ... in /usr/bin by default - Use of mimetypes + filename to guess whatever it is a text file or not (I tried magic, but my first note was that it created a new dependence and second.. it didn't do well the job, my default /etc/magic file was empty, at the opposite mimetypes is builtin and does a good job)
* 0.0.3 2005-02-07 - The window is opened as modal (no entry in the taskbar) - Resize the window now works - Use the font "Lucida Console P" for the special leet characters - Checkboxes in the File menu so we know which one is viewed - Changed the interface: - Status bar with the name of the current file - A sub-menu for the files - 'Open with...' Opens the current file with a program
* 0.0.2 2005-12-16 - TextEdit: NoWrap and Monospace family - Add a menu bar, remove the buttons
I found a new candidate for the font, it is named ASCII.ttf and the author wants it to be free like sharealike "Just use it", I will upload it in a sure place (like 24/24h). Just wait for the next release ;)
I googled the luconP.ttf font at other places, anyway home.online.no is reachable again.
...GOD!
Woha, I was waiting for this very application. I have a selfmade *.txt file in every directory that contains my own little review and some infos of the band. And your script is exactly what I was looking for, thank you tons!!
It would be cool to have the option with the txt file on the cover too though. Like, when I right-click on the cover --> open TxtView! Then it would be perfect!
(btw, why making a submenu when there is only one option? it makes no sense)
Another idea could be to add it to the context view at the botton and automatically open it and just hide the info when there is no txt/nfo file. Like, in the current tab at the botton prolly? ;)
However, you made my day! Fantastic, thank you so much!! :)
It would be cool to have the option with the txt file on the cover too though.
(btw, why making a submenu when there is only one option? it makes no sense)
Another idea could be to add it to the context view at the botton and automatically open it and just hide the info when there is no txt/nfo file.
At the moment all this is not possible and the only entry point to add a submenu is the playlist and it is done via DCOP. I already tried what you said when I was mixing up this script :)
Thank you for your comments and I'm happy you like it.
It is already in my bug list (or better, todo list :). As the first version is almost working, I have decided to put it here. The next version(s) will have some fixes.
Ratings & Comments
8 Comments
The requested URL /~aageli/luconP.ttf was not found on this server. Apache/1.3.26 Server at home.online.no Port 80
I found a new candidate for the font, it is named ASCII.ttf and the author wants it to be free like sharealike "Just use it", I will upload it in a sure place (like 24/24h). Just wait for the next release ;) I googled the luconP.ttf font at other places, anyway home.online.no is reachable again.
...GOD! Woha, I was waiting for this very application. I have a selfmade *.txt file in every directory that contains my own little review and some infos of the band. And your script is exactly what I was looking for, thank you tons!! It would be cool to have the option with the txt file on the cover too though. Like, when I right-click on the cover --> open TxtView! Then it would be perfect! (btw, why making a submenu when there is only one option? it makes no sense) Another idea could be to add it to the context view at the botton and automatically open it and just hide the info when there is no txt/nfo file. Like, in the current tab at the botton prolly? ;) However, you made my day! Fantastic, thank you so much!! :)
At the moment all this is not possible and the only entry point to add a submenu is the playlist and it is done via DCOP. I already tried what you said when I was mixing up this script :)
Thank you for your comments and I'm happy you like it.
DCOP Functions : http://amarok.kde.org/amarokwiki/index.php/DCOP_Functions_amaroK_1.3
Note that you can request extensions to the scripting system, if you submit a wish to our bugzilla on http://bugs.kde.org.
It would be nice if this could decode .NFO files to display the graphics in them rather than plain text. Could you make a version with that?
It is already in my bug list (or better, todo list :). As the first version is almost working, I have decided to put it here. The next version(s) will have some fixes.
0.0.3 uses the font Lucida Console P, which shows the awesome characters. I hope you will be happy :)