Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [Request] Text File Panel (Read 12518 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Request] Text File Panel

Many people have a file in their folders titled AMG comments.txt containing information about a particular album.

I'd love to see a plugin that can read text files like the aforementioned, and display them in a panel.

Also, much like the album art panel, this plugin could be configured to read files from any source. So say if you had a folder named d:\artists_bios. You could read in a particular file using d:\artists_bios\%artist%.txt

I would say, take it one step further and display that and a picture, so you could have an artists bio conjoined with an image of the artist (aligned left perhaps, to the users discretion). But that may be too difficult.

Would anyone want to try this?

[Request] Text File Panel

Reply #1
Seconded! This is a great idea. Many people also store LOG files or other statistics about a certain collection of songs. Reading embedded files would be a huge advantage for me as well.

[Request] Text File Panel

Reply #2
And this could be used for displaying lyrics also.


[Request] Text File Panel

Reply #4
Quote
And this could be used for displaying lyrics also.
[a href="index.php?act=findpost&pid=263545"][{POST_SNAPBACK}][/a]

Oooo good point, I forgot about that.

[Request] Text File Panel

Reply #5
What if you expanded on this and put an HTML viewer in there? It'd use the system default browser to display, and you could put some default options for how plain text is displayed.. maybe defineable in CSS? Even better, set it up so that any pictures would get displayed in one way, and any text files would get displayed in another. So if there's an HTML file then it'll display it clean, if there's plain text then it'll display that accordingly.

 

[Request] Text File Panel

Reply #6
Like the Winamp mini-browser?

Then you could throw in hyperlinks and finally make use of the %WWW*% tags that tag&rename throws in when you auto-tag files from amazon. Or hyperlink to other text files on your system. Like if you use a %FEATURING% tag you could hyperlink %FEATURING% to view info on that artist.

This plugin would kick ass.

[Request] Text File Panel

Reply #7
a bigass bump for this thread.

review.txt panel would rock (unless it's out there and i suck at searching)

[Request] Text File Panel

Reply #8
Seconded!

Hard to imagine why this plugin hasn't been written already, really.. In it's simplest form, all it would have to do is to access a .txt-file in the album-directory (similar to the albumart plugin), and put the text in a string that is post-processed by foobar depending on user-settings ("background colour", "font" etc..)

A slightly more advanced version could benefit from the following features:

• Allow the user to filter names of .txt-files to search for first (eg. %fileinfo.txt%,%log.txt%,%amg_info.txt%) This could be particularly useful if one wants to have multiple tabs with different text-files. (eg. lyrics, AMG-info, statistics..)

• Database-support. Store text and meta-information in a database. This way, the user can use tagz to finetune the output of the text for each album. (If lyrics, for instance, the user can choose to center-align the text.)

• Automatically rendering http-adresses into clickable links. (Full-scale html-support seems to be a bit over-the-top for a .txt-file-reader plugin, but it would of course be brilliant if someone took the time to implement it..)

• Image-support: This could be done in various ways. The easiest, perhaps, would be to have a tag-type system that sepearates images from regular text (ala html: <IMG src="c:\music\opeth\artist.jpg" align="left" border="1">). The user could then enter image-information directly into the text-file or in foobar, depending on user preference (and availabilty of database-support...)

• On second thought, the easiest way, would be to have the plugin search for a specific type of images to use in the output. (eg. %artist.jpg%). Again, it would be nice if the user could use a custom filter if this were to be implemented.

• Spinning on the image-support-thing, the better choice would be if the user could insert a picture in the text directly in foobar via a "browse files"-dialog. The dialog would preferably have support for setting alignment, borderthickness, bordercolour and padding.

• Support for "rich text" would be nice, but probably difficult to implement, as foobar seems to have it's own special way of formating text that's impossible for plugins to override (eg. one font - one font-style per panel/plugin)

... And probably much more!

Now, what are you waiting for all you C++ hackers out there? Go make my dreams come true! 

[Request] Text File Panel

Reply #9
and if you ask me i will use it for *.nfo

[Request] Text File Panel

Reply #10
Quote
Now, what are you waiting for all you C++ hackers out there?
[a href="index.php?act=findpost&pid=293873"][{POST_SNAPBACK}][/a]

For you to pay us a full-time salary. 
A riddle is a short sword attached to the next 2000 years.

[Request] Text File Panel

Reply #11
I don't think full HTML rendering is a good idea; it causes too many potential issues. I for one have no desire whatever to have a nasty kludged-in copy of IE in my nice, clean foobar.

However, I think the idea of a text file reader is an excellent one. Maybe some sort of simplified stylesheet could be applied using BB-style tags? I'm not sure how practical this would be but it should be far faster and less ugly than using an IE window, effectively.

arty

[Request] Text File Panel

Reply #12
Quote
Quote
Now, what are you waiting for all you C++ hackers out there?
[a href="index.php?act=findpost&pid=293873"][{POST_SNAPBACK}][/a]

For you to pay us a full-time salary. 
[a href="index.php?act=findpost&pid=293895"][{POST_SNAPBACK}][/a]


Hmm..

*checks pockets*

I can offer you a very genereous one-time payment of, ehrm, let's see.. 3 dollars! And as icing on the cake you'll get two well worn-in plecters, a keychain, and.. what the hell, I'll even throw in a non-refillable lighter with plenty of juice left! Your lungs won't thank you, but smoking makes you look cool! 

One time offer!




(Haven't got much more than gratefulness to offer I'm afraid..)

[Request] Text File Panel

Reply #13
I by no means am a programmer nor claim to understand the intricacies of programming, nonetheless this is my opinion:

Why go through all the trouble of making a CSS parser or partial HTML renderer -- essentially a pseudo-browser from scratch, when you can use the IE engine.

The built in IE browser for Winamp works flawlessly and is great at outputting local text files and plugin generated html as well. I've never heard of any security issues with it, other than issues IE has in itself. However, using the built in browser to venture anywhere other than the localhost is always at the users discretion.

[Request] Text File Panel

Reply #14
bump

This would be awesome

[Request] Text File Panel

Reply #15
why not just make entire gui that is html based? (one could borrow the core code from mozzila i imagine, with some tweaks to the fb2k licence...)
PANIC: CPU 1: Cache Error (unrecoverable - dcache data) Eframe = 0x90000000208cf3b8
NOTICE - cpu 0 didn't dump TLB, may be hung

[Request] Text File Panel

Reply #16
I'd love to see a simple text reading panel. 

I want to set up FB to play music at parties and it would be cool too have the info about the song/album/artist for guests to see. 

The HTML idea would probably work well, be flexible and dynamic-- just associate the urls with the tracks and albums -- but I certainly don't need it and, like many, I'd rather have as little to do with IE as possible.  Besides, I prefer to make my own text files for Lyrics, so I would probably do the same for info files.

I can't create it, of course, but I'd be grateful enough to render some sort of small reward.

[Request] Text File Panel

Reply #17
I'd love to see such a feature as soon as possible.
IMHO I would rather say an IE Explorer window is disproportionate. A plugin that simply reads out txt files in a specific or the album directory would be great.
Maybe, if the programmer wants, it would be really a good idea to add a HTML like syntax for pictures, but I think any more would be too much work for less use.

[Request] Text File Panel

Reply #18
Instead of IE Explorer window, the plugin could use http://www.offbyone.com/
Or in a more heavier class, the Gecko engine.

[Request] Text File Panel

Reply #19
Quote
I by no means am a programmer nor claim to understand the intricacies of programming, nonetheless this is my opinion:

Why go through all the trouble of making a CSS parser or partial HTML renderer -- essentially a pseudo-browser from scratch, when you can use the IE engine.

The built in IE browser for Winamp works flawlessly and is great at outputting local text files and plugin generated html as well. I've never heard of any security issues with it, other than issues IE has in itself. However, using the built in browser to venture anywhere other than the localhost is always at the users discretion.
[a href="index.php?act=findpost&pid=294389"][{POST_SNAPBACK}][/a]


Because the IE engine is a bloated peice of shit that should never be included in any program, ever.

Just have a text file thing, so you can see .nfos and stuff

Oh, and if the IE core is loaded, so are any spyware BHOs, dlls, and any other crap you don't want. Not to mention the memory/CPU

TXT ftw.
hi

[Request] Text File Panel

Reply #20
I would really like to see this plugin.

I have tons of live stuff that all have tracklist.txt in the folders.  It would be great to be able to see the lists from a foobar panel

[Request] Text File Panel

Reply #21
I'm not sure if this is what would fit the bill but I'm using multiple instances of the Track Info Panel to display Album Info or Artist Bios.


[Request] Text File Panel

Reply #22
Quote
I'm not sure if this is what would fit the bill but I'm using multiple instances of the Track Info Panel to display Album Info or Artist Bios.


[a href="index.php?act=findpost&pid=308479"][{POST_SNAPBACK}][/a]

Not thats not really what we were looking for, cuz as far as i can see the artist bios are not stored in your music folders but in the file tags.
And we were looking for a panel that auto-searches any textfiles (or specific) in the album or artists folder and displays them.

[Request] Text File Panel

Reply #23
Any type of HTML rendering would be great instead of solely a plugin that outputs text files -- that would merely be the tip of the iceberg.

The level of customization with html/css would be limitless. That after all seems to be one of FB2K's strong points -- it's level of customization. The current track info panel and album art plugin, althought good, are very limited in how you can visually present data.

The winamp media library uses the IE engine and it seems pretty light weight to me. There aren't any browser buttons, or tool bars, nothing bloated.

[Request] Text File Panel

Reply #24
A nice panel to display text files in the same directory as an album would be great.  Especially for those live show collectors who have loads of .txt and .nfo files.  Would also probably be quite simple to write, but I have no clue.  I hope someone can/will do it.