IPB

Welcome Guest ( Log In | Register )

7 Pages V  « < 5 6 7  
Reply to this topicStart new topic
Text Display (foo_textdisplay), UI Element for Default User Interface 0.9.5 and compatible
MDMA
post Jan 15 2013, 12:29
Post #151





Group: Members
Posts: 75
Joined: 23-May 10
Member No.: 80861



Great component, just voicing that the option to disable confirmation when clicking links can be disabled.
Go to the top of the page
+Quote Post
amiti
post Feb 20 2013, 17:59
Post #152





Group: Members
Posts: 152
Joined: 1-January 05
Member No.: 18746



Is there a way to set more than one link (using $doclink) per line or must I always use clrf() between them?
Go to the top of the page
+Quote Post
foosion
post Feb 20 2013, 20:43
Post #153





Group: FB2K Moderator (Donating)
Posts: 4409
Joined: 24-February 03
Member No.: 5153



In the current version you must use the $crlf().


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post
amiti
post Feb 22 2013, 14:48
Post #154





Group: Members
Posts: 152
Joined: 1-January 05
Member No.: 18746



QUOTE (foosion @ Feb 20 2013, 21:43) *
In the current version you must use the $crlf().


Thanks.

Can't this plugin here be used as a much more advanced statusbar? I am using it as such but it overlaps the native statusbar in some aspects of functionality. I read in other threads that an option to hide statusbar is out of the question , but maybe upgrading it to include the options you are offering here and make it much more versatile?
Go to the top of the page
+Quote Post
foosion
post Feb 22 2013, 15:45
Post #155





Group: FB2K Moderator (Donating)
Posts: 4409
Joined: 24-February 03
Member No.: 5153



Technically it would be possible to use a custom, advanced status bar. As far as I know Columns UI does that. Would Peter be willing to do this? I really don't know.


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post
ekyonn
post May 11 2013, 12:15
Post #156





Group: Members
Posts: 2
Joined: 11-May 13
Member No.: 108076



Web services links on playing track

CODE
$puts(myartist,$if3(%artist%,%album artist%,%BAND%,$directory(%path%,1)))
$puts(myalbums,$if3(%album%,%directoryname%))
$puts(mytitle,$if3(%title%,%filename%))
$puts(myquery,music+$get(myartist)+$get(myalbum)[+%date%]+$get(mytitle))


// Google all
$doclink(Google all,'http://www.google.com/search?ie=utf-8&q='$replace($get(myquery), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// search google for lyrics
$doclink(Google Lyrics,'http://www.google.com/search?ie=utf-8&q=lyrics|parole+'$replace($get(mytitle), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')+$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// Google Lyrics Translate // bug urlencode
//$doclink(FRENCH Lyrics,'http://translate.google.fr/?ie=utf-8&hl=fr#auto/fr/'$replace($if3(%lyrics%,%unsynced lyrics%), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
//$crlf()

// Wikipedia artist
$doclink(Wikipedia,'http://en.wikipedia.org/wiki/Special:Search?search='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// Youtube artist
//$doclink(Youtube,'http://www.youtube.com/results?aq=f&search_query='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
//$crlf()

// Blogspot artist
$doclink(Blogspot,'http://www.google.com/search?sitesearch=blogspot.*&q='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// MusicBrainz artist
$doclink(MusicBrainz,'http://musicbrainz.org/search/textsearch.html?type=artist&an=1&as=1&aa=1&limit=100&handlearguments=1&query='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// Discogs artist
$doclink(Discogs,'http://www.discogs.com/search?type=artist&q='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// LastFM artist
//$doclink(LastFM,'http://www.lastfm.fr/search?q='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
//$crlf()

// myspace artist
$doclink(MySpace,'http://www.myspace.com/search/music?q='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23',&,,))
$crlf()

// rateyourmusic artist
$doclink(rateyourmusic,'http://rateyourmusic.com/search?searchtype=a&searchterm='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// greatsong.net
$doclink(greatsong.net,'http://www.greatsong.net/recherche.php?ie=utf-8&q='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// slothradio
$doclink(sloth cover,'http://www.slothradio.com/covers/?artist='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// allmusic
$doclink(allmusic,'http://www.allmusic.com/search/all/'$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// internet archive
$doclink(Internet Archive,'http://archive.org/search.php?query='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// filecrop
$doclink(FileCrop,'http://www.filecrop.com/search.php?size_i=0&size_f=100000000&engine_r=1&engine_h=1&engine_m=1&engine_d=1&w='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// jango
$doclink(Jango,'http://www.jango.com/music/'$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// hypeM
$doclink(HypeM,'http://hypem.com/search/'$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// metacrawler
//$doclink(metacrawler,'http://www.metacrawler.com/search/web?fcoid=417&fcop=topnav&fpid=27&ql=&q='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
//$crlf()

// webcrawler
$doclink(webcrawler,'http://www.webcrawler.com/search/web?fcoid=417&fcop=topnav&fpid=27&ql=&ss=t&q='$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// songstr
$doclink(songstr,'http://www.songstr.com/#!/search/'$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// deezer
$doclink(deezer,' http://www.deezer.com/fr/search/'$replace($get(myartist), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()
Go to the top of the page
+Quote Post
carpman
post Jun 10 2013, 07:56
Post #157





Group: Developer
Posts: 1310
Joined: 27-June 07
Member No.: 44789



Hi foosion,

Just updated to latest version of foo_textdisplay and it seems to ignore (or treat differently): $crlf()

C.

EDIT:
Win7 x64
fb2k v.1.2.6 (portable)

This post has been edited by carpman: Jun 10 2013, 08:02


--------------------
TAK -p4m :: LossyWAV -q 6 | TAK :: Lame 3.98 -V 2
Go to the top of the page
+Quote Post
marc2003
post Jun 10 2013, 08:33
Post #158





Group: Members
Posts: 4438
Joined: 27-January 05
From: England
Member No.: 19379



http://www.hydrogenaudio.org/forums/index....st&p=774004
Go to the top of the page
+Quote Post
carpman
post Jun 10 2013, 09:18
Post #159





Group: Developer
Posts: 1310
Joined: 27-June 07
Member No.: 44789



Thanks marc2003. Don't quite understand how I was using such an old version?? - only made my DUI setup this year. Very strange.
Anyway, problem solved.

Cheers,

C.


--------------------
TAK -p4m :: LossyWAV -q 6 | TAK :: Lame 3.98 -V 2
Go to the top of the page
+Quote Post
Edgar Grey
post Oct 19 2013, 09:08
Post #160





Group: Members
Posts: 11
Joined: 19-January 09
From: Russia
Member No.: 65750



Thanks for this plugin. It works great. But there is a problem with new foobar 1.3 beta 1 which described here:

http://www.hydrogenaudio.org/forums/index....mp;#entry840289

Will it be fixed?
Go to the top of the page
+Quote Post
nightgaunt
post Jan 1 2014, 06:26
Post #161





Group: Members
Posts: 17
Joined: 20-June 05
Member No.: 22867



On my system my text display element has recently stopped displaying lyrics, showing instead "." I'm on a Win7 machine, and the problem arose when I upgraded to fb2k v1.3. I believe this is due to the problem Edgar Grey identified above -- please add my voice to his update request.

Thanks kindly -- I've appreciated this plugin (and your many others) over the years.
Go to the top of the page
+Quote Post
Edgar Grey
post Jan 1 2014, 07:05
Post #162





Group: Members
Posts: 11
Joined: 19-January 09
From: Russia
Member No.: 65750



QUOTE (nightgaunt @ Jan 1 2014, 12:26) *
On my system my text display element has recently stopped displaying lyrics, showing instead "." I'm on a Win7 machine, and the problem arose when I upgraded to fb2k v1.3. I believe this is due to the problem Edgar Grey identified above -- please add my voice to his update request.

Thanks kindly -- I've appreciated this plugin (and your many others) over the years.


Could be fixed by editing LargeFieldsConfig.txt in foobar2000 profile folder
Go to the top of the page
+Quote Post
thomian
post Jan 22 2014, 16:48
Post #163





Group: Members
Posts: 17
Joined: 15-January 08
Member No.: 50496



QUOTE (Sixth Street @ Oct 12 2011, 17:17) *
Does anyone know where I can find a non 1.0 release of the plugin? All I want is proper line breaks to appear.


Any chance that this will be fixed in future versions?
I mean without the workaround from Post #132.
I don't like my scriptings to be messed up with a large number of $replace commands.
Go to the top of the page
+Quote Post
loft
post Apr 27 2014, 17:39
Post #164





Group: Members
Posts: 119
Joined: 2-March 05
From: Tirgu-Mures
Member No.: 20278



Since a few weeks ago (I can't tie it with any update of this plugin or foobar2000) I noticed that this plugin cannot read lyrics from FLAC files. It only displays a dot in the text box. It works just fine with MP3 and MPC files.

Im using fooobar2000 v1.3.2 and Text Display UI Element 1.1 beta 1. Thank you!
Go to the top of the page
+Quote Post
foosion
post Apr 27 2014, 20:50
Post #165





Group: FB2K Moderator (Donating)
Posts: 4409
Joined: 24-February 03
Member No.: 5153



loft: This looks like the same issue as in post #161. I suspect it is just a coincidence that it occurs with FLAC files.

This post has been edited by foosion: Apr 27 2014, 20:50


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post
loft
post Apr 27 2014, 22:15
Post #166





Group: Members
Posts: 119
Joined: 2-March 05
From: Tirgu-Mures
Member No.: 20278



It looks like the same problem... My database is quite big, about 7000 files, mp3's, mpc's and FLAC's. Now why is it only happening with FLAC's... Dunno!
Go to the top of the page
+Quote Post
Coreda
post May 8 2014, 09:22
Post #167





Group: Members
Posts: 39
Joined: 13-August 13
Member No.: 109588



Are there any plans to add Bold formatting support? Facets has a nice support for it in the Default UI, and was hoping it could be achieved with Text Display happy.gif
Go to the top of the page
+Quote Post
Coreda
post May 13 2014, 03:37
Post #168





Group: Members
Posts: 39
Joined: 13-August 13
Member No.: 109588



Just added some formatting for podcast details and noticed with certain Comment fields it breaks the Text Display formatting. Perhaps there are some characters that aren't being escaped?

Here is a screenshot of the issue. The first is the normal formatting showing correctly, the second one version of being broken, the last an alternate form of the formatting being broken.



Here's my formatting code:

CODE
[<<<%artist%>>>$crlf()]
%title%$crlf()
$if2(<<<%album% ['['#%track%']'] ['['%date%']']>>>,'('<<<Unknown>>>')')$crlf()
$if(%isplaying%,%playback_time%[ / %length%],%length%)$crlf()
<<∙∙∙∙>>$crlf()
[<<<%comment%>>>$crlf()<<∙∙∙∙>>$crlf()]

$puts(myartist,$if2(%albumartist%,%artist%))
$puts(myalbum,$if3(%album%,%directoryname%))
$puts(mytitle,$if3(%title%,%filename%))
$puts(myquery,$get(myartist) $get(myalbum) $get(mytitle))
$puts(myquery2,$get(myartist) $get(myalbum))

// Wikipedia
$doclink(Search Wikipedia '('album')','http://en.wikipedia.org/wiki/Special:Search?search='$replace($get(myquery2), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// Youtube
$doclink(Search Youtube '('track')','http://www.youtube.com/results?aq=f&search_query='$replace($get(myquery), ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()

// Search google for lyrics
$doclink(Search Lyrics,'http://www.google.com/search?ie=utf-8&q='$replace($get(myquery) lyrics, ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23'))
$crlf()


This post has been edited by Coreda: May 13 2014, 03:38
Go to the top of the page
+Quote Post
foosion
post May 13 2014, 11:50
Post #169





Group: FB2K Moderator (Donating)
Posts: 4409
Joined: 24-February 03
Member No.: 5153



I guess there is a line break in some of your comment tags. This breaks the formatting since Text Display can only apply formatting to whole paragraphs. There are two options. Either remove the line breaks in your formatting script using
CODE
<<<$replace(%comment%,$char(13),,$char(10),)>>>
or break up the comment into multiple, separately highlighted paragraphs with
CODE
<<<$replace(%comment%,$crlf(),>>>$crlf()<<<)>>>


I'm not sure what goes wrong for the second case but you can try to use Text Display's $urlencode function instead of a $replace which only handles a few special characters, i.e.
CODE
$doclink(Search Youtube '('track')','http://www.youtube.com/results?aq=f&search_query='$urlencode($get(myquery)))


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post
Coreda
post May 13 2014, 13:21
Post #170





Group: Members
Posts: 39
Joined: 13-August 13
Member No.: 109588



Perfect foosion, just what I needed. happy.gif

BTW is there a way to pass the currently playing file to an app? I see the $applink() function but don't see a way to open just a single file.

This post has been edited by Coreda: May 13 2014, 13:33
Go to the top of the page
+Quote Post
marc2003
post May 13 2014, 20:21
Post #171





Group: Members
Posts: 4438
Joined: 27-January 05
From: England
Member No.: 19379



if you want the default application to open the file, just put %path% as the application. or if you want to open a specific app, you can specify %path% as an argument.
Go to the top of the page
+Quote Post

7 Pages V  « < 5 6 7
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: 24th July 2014 - 05:38