IPB

Welcome Guest ( Log In | Register )

7 Pages V  < 1 2 3 4 5 > »   
Reply to this topicStart new topic
Text Display (foo_textdisplay), UI Element for Default User Interface 0.9.5 and compatible
TsiRoadkill
post Dec 22 2008, 08:08
Post #51





Group: Members
Posts: 16
Joined: 13-January 07
Member No.: 39612



I'm trying to get proper format string to display something like years, months, days since added to the library. Is this even possible and if so can someone help me out with the formatting? I have a separate %dateadded% tag in the format yyyymmdd in all my files. I would prefer to use that since %added% seems to have a mind of its own on all my old files.
Go to the top of the page
+Quote Post
Mar2zz
post Dec 22 2008, 11:52
Post #52





Group: Members
Posts: 669
Joined: 5-September 07
From: Netherlands
Member No.: 46810



Not possible. There is no syntax which grabs todays date and/or time. If that was possible, you could create a syntax which calculated the difference between today's date/time and the date_added date/time.

If you want to update it manually everyday, you can create a syntax in which you have to change today's date/time manually everyday again.


--------------------
http://www.youtube.com/watch?v=whoj6BOSfE4 (foob.fm)
Go to the top of the page
+Quote Post
foorious
post Dec 25 2008, 13:13
Post #53


troll / ban evasion


Group: Banned
Posts: 244
Joined: 22-April 08
Member No.: 52991



foosion, would it be possible to add an option (just a checkbox in the prefs) that would automatically save the now-playing info to a txt file once per second ?

My goal would be to use foo_textdisplay to display now playing info in a LCD display, and my LCD display driver can read the contents of a txt file.

Unless there's a simpler solution of course, provided it doesn't need to use other too-complicated now-playing plugins : I just need a simple solution to save titleformatted now-playing info to a txt file.

Thank you.
Go to the top of the page
+Quote Post
Yirkha
post Dec 25 2008, 18:57
Post #54





Group: FB2K Moderator
Posts: 2359
Joined: 30-November 07
Member No.: 49158



Maybe foo_np_simple.


--------------------
Full-quoting makes you scroll past the same junk over and over.
Go to the top of the page
+Quote Post
foorious
post Dec 25 2008, 23:32
Post #55


troll / ban evasion


Group: Banned
Posts: 244
Joined: 22-April 08
Member No.: 52991



Yirkha, unfortunately I have already tried foo_np_simple. It would be perfect, if only it was able to update the text file once per second, which it does not AFAIK (so when you want to output timing info like %playback_time% it doesn't work since the text file seems to be only updated once at the beginning of the song - I've tried closing and opening the file several times during the song's playback but the timing info is not updated).

And Skipy Rich doesn't seem to answer these days (please see here, last post : http://www.hydrogenaudio.org/forums/index....showtopic=67021 ).

Of course it would be great if Skipy could improve his little component. But until he does (eventually), I'll have to find another solution, and that's why I've decided to ask foosion.

Last but not least, foosion's component is "official" (made for DUI, reliable for the future), and if foosion could implement this small feature (which means a single checkbox, so no added complexity I guess), then there would be no need for an additional component.

Just my two cents of course. smile.gif
Go to the top of the page
+Quote Post
lokioki
post Dec 31 2008, 18:40
Post #56





Group: Members
Posts: 181
Joined: 16-December 08
Member No.: 64571



I love this component, just what I have been searching for a while smile.gif
Go to the top of the page
+Quote Post
TomBarlow
post Dec 31 2008, 22:10
Post #57





Group: Members
Posts: 585
Joined: 30-July 07
Member No.: 45750



I second what aliumalik said about the alignment- when there's a scrollbar the text has more padding on the right than the left, and it looks a bit odd.

Also, would it be possible to wrap long words, instead of having them disappear off the sides of the panel? So when text is centered, long words are left aligned then wrap onto a new line when they reach the other side.

Also also, $rgb() would be really nice kiss.gif

One other thing that might be worth mentioning: when you have a text display panel and a playlist view panel in two different tabs, it is impossible to display track info when no track is playing- %title% returns '?' along with other fields. However, this also happens with the album art display (it says [no selection]) so it might be a problem with DUI.
Go to the top of the page
+Quote Post
neothe0ne
post Feb 15 2009, 02:12
Post #58





Group: Members
Posts: 295
Joined: 25-September 05
Member No.: 24684



1) Is it possible to have this UI element load the contents of a text file?

2) Is it possible for this UI element to NOT word wrap?



This post has been edited by neothe0ne: Feb 15 2009, 06:24
Go to the top of the page
+Quote Post
ojdo
post Feb 15 2009, 12:58
Post #59





Group: Members
Posts: 894
Joined: 18-June 06
From: Germany
Member No.: 31980



QUOTE (neothe0ne @ Feb 15 2009, 02:12) *
1) Is it possible to have this UI element load the contents of a text file?
2) Is it possible for this UI element to NOT word wrap?

Currently (1.0 RC 3), the answer to both questions is no.


--------------------
http://freemusi.cc/
Go to the top of the page
+Quote Post
q-stankovic
post Feb 15 2009, 15:38
Post #60





Group: Members
Posts: 1741
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



Displaying textfiles is not only a gimmick but an amazing feature if you have collected many information (Album review, Biography and many more) and stored them as textfiles. Storing that information inside tags has three disadvantages: 1. A relative huge text is stored umpteen times, 2. Newly added files has to be tagged again and again and 3. you can't view and edit the text from windows explorer.

I would like to make a suggestion how a senseful and simple implementation could look like:
  1. In preferences a sheet where you can add type of textfile (f.e. Biography) and source (%artist%_biography.txt)
  2. In context menu comands like Edit text->Biography which opens existing textfile in editor or even create new textfiles so that the info can be edited/added easily from foobar.
    Edit: Maybe better than opening editor would be an own and simple window and a big button for pasting clipboard
  3. A way in the format box to link to the source


This post has been edited by q-stankovic: Feb 15 2009, 16:04


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
ojdo
post Feb 27 2009, 20:37
Post #61





Group: Members
Posts: 894
Joined: 18-June 06
From: Germany
Member No.: 31980



QUOTE (TomBarlow @ Dec 31 2008, 22:10) *
Also also, $rgb() would be really nice kiss.gif


I second this! With only this command added you would provide all the functionality one had in the times of foo_uie_trackinfo (without mod), but with the default UI. What does the developer think?


--------------------
http://freemusi.cc/
Go to the top of the page
+Quote Post
damator
post Mar 7 2009, 23:36
Post #62





Group: Members
Posts: 1
Joined: 7-March 09
Member No.: 67723



Hello,

is there any way to show some playlist information in foobar_textdisplay?

I`d like to see a text which shows at what position the currently playing track is in the tracklist.

Go to the top of the page
+Quote Post
M
post Mar 8 2009, 06:25
Post #63





Group: Members
Posts: 964
Joined: 29-December 01
Member No.: 830



I just found this component tonight, and I am not sure whether anyone else would find these particular settings useful, but I wanted a dynamic display according to whether anything is actually selected, and showing a progress bar with both elapsed and remaining durations. Here is what works for me:
CODE
$ifgreater(%filesize%,0,
$if2("%title%",'['title unknown']')$char(10)
$if2(%playback_time%,0:00) $progress(%playback_time_seconds%, %length_seconds%, 53,'▪','◦') $if3(-%playback_time_remaining%,-%length%,∞)$char(10)
$if2(%artist%,'['artist unknown']') ◊ $if2(%album%[ ... disc %discnumber%],'['album unknown']'),
◦ f o o b a r 2 0 0 0 ◦
)


- M.
Go to the top of the page
+Quote Post
ojdo
post Apr 4 2009, 13:24
Post #64





Group: Members
Posts: 894
Joined: 18-June 06
From: Germany
Member No.: 31980



QUOTE (neothe0ne @ Feb 15 2009, 02:12) *
1) Is it possible to have this UI element load the contents of a text file?


I would like to make a feature proposal: I am reluctant to store album/artist-wide information (biography, album review) to the files' tags just to be able to view them. For such information I would like to be able to display the contents of a text file whose path should be configurable through a line of title formatting like shown in those examples:

Album review:
CODE
$replace(%path%,%filename_ext%,review.txt)

Artist biography:
CODE
$replace(%path%,%directory_name%\%filename_ext%,biography.txt)


How are the chances of this getting implemented?


This post has been edited by ojdo: Apr 4 2009, 13:25


--------------------
http://freemusi.cc/
Go to the top of the page
+Quote Post
q-stankovic
post Apr 4 2009, 15:54
Post #65





Group: Members
Posts: 1741
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



QUOTE (ojdo @ Apr 4 2009, 13:24) *
I would like to make a feature proposal: I am reluctant to store album/artist-wide information (biography, album review) to the files' tags just to be able to view them. For such information I would like to be able to display the contents of a text file whose path should be configurable through a line of title formatting like


An alternative could also be to use a database instead of textfiles. But however, i agree: tags are the wrong place for some obvious reasons. You can use foo_textfile to display textfiles in textdisplay.




--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
foolver
post Apr 4 2009, 17:24
Post #66





Group: Members
Posts: 130
Joined: 5-October 08
Member No.: 59414



i use this to read the lyrics from %unsynced lyrics% field... it would be awesome if i could directly edit the lyrics within the text box...

amazing plugin, btw
Go to the top of the page
+Quote Post
lokioki
post Apr 4 2009, 17:52
Post #67





Group: Members
Posts: 181
Joined: 16-December 08
Member No.: 64571



QUOTE (foolver @ Apr 4 2009, 19:24) *
i use this to read the lyrics from %unsynced lyrics% field... it would be awesome if i could directly edit the lyrics within the text box...

amazing plugin, btw



This feature is would rock my world.
Go to the top of the page
+Quote Post
q-stankovic
post Apr 4 2009, 19:32
Post #68





Group: Members
Posts: 1741
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



Some thoughts on the requested ability to display text/textfiles:

I said here in the thread some time ago that i would like to see in each selection info viewer the feature to set the source for display: selection or now playing track. Meantime i am rather convinced that how the selection properties or albumart viewer uielement work is perfect - means: no need for an extra tracking mode as a simple doubleclick on status bar brings to your eyes what you want if you like to see info about playing track.

As foo_textdisplay was released two wishes from DefaultUis userbase became fullfilled: 1. display of now playing info in big letters and 2. display of text stored in tags. The current design of textdisplay is perfect to realize the first point. However, i think that the display of text could be offered in a more convenient way that wouldn't require writing Title Formatting anymore: i am thinking about defining textname and its sources (tag, file or database) in preferences and that's all. Then an Uielement could display all the text and by context menu we could choose the sources (either like in album art viewer or in selection properties). Wouldn't that fit better into DefaultUi?

On the other side that part of textdisplay that we know now could be reduced to now playing info, could show album cover and be categorized under "utility" instead of "selection info viewer".

This post has been edited by q-stankovic: Apr 4 2009, 19:36


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
ojdo
post Apr 5 2009, 00:50
Post #69





Group: Members
Posts: 894
Joined: 18-June 06
From: Germany
Member No.: 31980



QUOTE (q-stankovic @ Apr 4 2009, 15:54) *
You can use foo_textfile to display textfiles in textdisplay.

Just tried it: principally a nice component, but it causes crashes when I use Facets search bar with the component active.


--------------------
http://freemusi.cc/
Go to the top of the page
+Quote Post
passerby
post Jun 12 2009, 14:36
Post #70





Group: Members
Posts: 3
Joined: 12-June 09
Member No.: 70613



I don't know what to write to get the lyrics to show, could anyone help me?
Go to the top of the page
+Quote Post
tpijag
post Jun 12 2009, 15:43
Post #71





Group: Members
Posts: 2351
Joined: 19-May 08
Member No.: 53637



In what field are your lyrics?

If, field = lyrics, then [%lyrics%]

terry
Go to the top of the page
+Quote Post
passerby
post Jun 12 2009, 21:58
Post #72





Group: Members
Posts: 3
Joined: 12-June 09
Member No.: 70613



In what field? I don't know. I'm using foo_lyricsdb for the lyrics. I'm really new at this.
Go to the top of the page
+Quote Post
tpijag
post Jun 12 2009, 22:08
Post #73





Group: Members
Posts: 2351
Joined: 19-May 08
Member No.: 53637



Well, I do not use foo_lyricsdb and am not going to read discussions or documentation for you.
However, a quick look at this http://www.hydrogenaudio.org/forums/index....showtopic=36598
shows that at one time the field name was lyrics.

Why not try %lyrics% and see what happens.

terry
Go to the top of the page
+Quote Post
jeremija
post Nov 26 2009, 11:47
Post #74





Group: Members
Posts: 328
Joined: 27-September 08
From: Zagreb
Member No.: 58696



is it possible to change the edge type to grey? it seems to me like it is set to sunken...
Go to the top of the page
+Quote Post
stefle
post Jan 17 2010, 21:39
Post #75





Group: Members
Posts: 19
Joined: 6-January 10
Member No.: 76739



Hello,

small request: left/right alignment would look much better, if there were a little space between text and border (configurable or not). I prefer left alignment, but unfortunately the text sticks too much to the left panel side. Or is there any title formatting syntax to solve this problem?
Go to the top of the page
+Quote Post

7 Pages V  < 1 2 3 4 5 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th September 2014 - 06:07