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: foo_httpcontrol (Read 944580 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_httpcontrol

Reply #625
Never Mind. I found out how to do it
:)

foo_httpcontrol

Reply #626
Thanks for your great work lxofith. Now the remote looks like it should.

I have one problem (it's probably just me). When I add something on the playlist and then browse back to the playlist, it won't update automatically. I have to go back to the playlist menu and then select the playlist again. Only then it updates the newest additions. Anyway to fix this?

Thanks

foo_httpcontrol

Reply #627
oblikoamorale: Is there a way to use the template´s default path in the Album art rule?

I want to use a certain image, if the file is a stream. I tried:

$if(my_condition,some_path\image.png,)

It worked with a direct path (like C:\temp) but not with anything else I tried (e.g. a path, which works in the no album art section) ...

Helpful would be any path related to foobar or this component.

Thanks.

edit: typo

foo_httpcontrol

Reply #628
vogliadicane: fixed in 0.95.7. relative path is relative to foobar2000.exe directory.


foo_httpcontrol

Reply #630
-last but not least, album art is shown for the first track i select, but after switching to another track it still shows the art of the first ever selected track (only restarting computer will change that). if track has no art, it doesnt show any... so it already recognizes if tracks being played are having any art or not, but seems to cache only one picture!? could this be related to opera 9.7 or is there any other solution?


could you please try a least helping me with this issue, as it seems that its a bit faulty. tried it whith default and many other skins, but it always exists! browsed with ie and opera - no difference... when changing something in album art rule it suddenly opens the right image, but switching to another track will keep the previous album art. i guess its a little bug in component!? my rule looks like this: C:\Musik\_Art\Alben\$replace(%album artist% - %album%,:,_,?,_,/,_).jpg changing it to C:\Musik\_Art\Alben\%album artist% - %album%.jpg doesnt help either.

thx i.a.

foo_httpcontrol

Reply #631
vogliadicane, alexinc: (re)download and try 0.95.7


foo_httpcontrol

Reply #633
vogliadicane, alexinc: (re)download and try 0.95.7


I did immediately after your last post. Works fine now, thanks


me too, 4hours after latest upload!  but it didnt fix this issue... just wondering that noone else mentions it? seems related to my rule...!? of course i did "clean" update with deleting plugin+settings.

foo_httpcontrol

Reply #634
alexinc: I've reuploaded 0.95.7 again this morning, are you sure you tried this latest version? ok, I'll figure out what's going on later.

foo_httpcontrol

Reply #635
alexinc: I've reuploaded 0.95.7 again this morning, are you sure you tried this latest version? ok, I'll figure out what's going on later.

well, if you did re-upload i'm not sure of course...  it was yesterday evening (german time) and download source said, that your upload was 4hours ago... so i'll check back after getting home today and will let you know! thx again!

edit: no further investigation seems to be necessary! just tried it via remote controlling my laptop and at least on local browsing with ie album art is changing the way its supposed to do!  nice, thx! now i just need to get a smooth ipod-like interface for 320x240 pda and an answer, why i cannot start or add tracks to playlist browsing directories on hd with lxofith-skin!

foo_httpcontrol

Reply #636
strange, I´ve put

Code: [Select]
$if($strcmp($left(%path%,7),http$char(58)$char(47)$char(47)),CLRadio.png,)|$if($strcmp($left(%path%,7),cdda$char(58)$char(47)$char(47)),CLCDr.png,)|$directory_path(%path%)\cover.jpg|$directory_path(%path%)\*.jpg

in the Album art rule, to get different graphics for streams and Audio CD.

It baasically works, but only for one of the first two options per session. Album art for local music files is always updated correctly, but for streams and CD´s only the first one used in the session is displayed correctly;

e.g. If I start the session with a CD, trhen I switch to a stream the graphic for CD is still displayed. If I start the session with a stream, the graphic for stream is still displayed when switching to a CD. No problem, if I switch to a local music file.

Any idea why this happens?


foo_httpcontrol

Reply #637
I've tested all three albumart cases and they seem to work flawlessly. I think you didn't download updated 0.95.7, old version you've got has nasty typo. so just go ahead and install it.

foo_httpcontrol

Reply #638
I've tested all three albumart cases and they seem to work flawlessly. I think you didn't download updated 0.95.7, old version you've got has nasty typo. so just go ahead and install it.


it was actually the nasty typo! Redownloading this version did it, thanks!

foo_httpcontrol

Reply #639
Hello, I am trying many thinks to get the remote working on my iphone.Is there any step by step discription for installing all the templates and ip adresses for safari iphone browser.
When I give http://localhost:8888/index.html in the browser of the pc where foobar portable is running I can see the template.
But what have I to put in the http control preferences of Foobar.
There is a field "bind to" with note "yes bind succsessfull" server started.
After this field is a field remote ip and credentials and http server home directory. What is to fill here.
And what adress should I give in iphone safari browser the foobar pc and the iphone are in the same fritzbox wlan network.
Maybe some one know a good tutorial for all that stuff !
Many thanks for your help!!!!

foo_httpcontrol

Reply #640
Hello, I am trying many thinks to get the remote working on my iphone.Is there any step by step discription for installing all the templates and ip adresses for safari iphone browser.
When I give http://localhost:8888/index.html in the browser of the pc where foobar portable is running I can see the template.
But what have I to put in the http control preferences of Foobar.
There is a field "bind to" with note "yes bind succsessfull" server started.
After this field is a field remote ip and credentials and http server home directory. What is to fill here.
And what adress should I give in iphone safari browser the foobar pc and the iphone are in the same fritzbox wlan network.
Maybe some one know a good tutorial for all that stuff !
Many thanks for your help!!!!

Instead of 'localhost' you must set the IP of the server PC (where foobar is running). e.g. 192.168.2.16


foo_httpcontrol

Reply #641
Hello, I am trying many thinks to get the remote working on my iphone.Is there any step by step discription for installing all the templates and ip adresses for safari iphone browser.
When I give http://localhost:8888/index.html in the browser of the pc where foobar portable is running I can see the template.
But what have I to put in the http control preferences of Foobar.
There is a field "bind to" with note "yes bind succsessfull" server started.
After this field is a field remote ip and credentials and http server home directory. What is to fill here.
And what adress should I give in iphone safari browser the foobar pc and the iphone are in the same fritzbox wlan network.
Maybe some one know a good tutorial for all that stuff !
Many thanks for your help!!!!

Instead of 'localhost' you must set the IP of the server PC (where foobar is running). e.g. 192.168.2.16


Many thanks I got it!!!!!!!!

foo_httpcontrol

Reply #642
I've modified lxofith's latest iphone template to work and fit better on none iphone devices.

Its working great on my G1, in firefox and in chrome/safari.

Though theres a little quirk in Opera that I cant quite figure out.

Wondering if anyone can spot my mistakes before I share the files?

(I'm hacking about rather than actually having a full understanding of javascript, so if you need me to post more than this snippet to understand the problem let me know.)

Code: [Select]
playlist += "<td class='plNumber'"
            + "' onclick=\"this.className += ' clicked'; sendCommand('Start',"+ (i+fooVars.listOffset) +");\">" + fooVars.playlist[i].number;


On chrome and firefox it looks as I want it, and clicking the track number <td> initiates the start command.



whereas, in opera that <td> is not showing and the numbers are showing outside of the <td>


foo_httpcontrol

Reply #643
so what are you changing exactly for non-iphone-devices? as i'm trying the last days to make it fit on 320x240 screens and playing around in the code here and there...  same way you're doing!  started working on the "now playing"-screen and almost everything is fitting, besides shuffle-, foobar- and repeat-buttons. will solve this one too - hopefully

foo_httpcontrol

Reply #644
Making it fit the G1 without unessecary scrolling.
Replacing the iphone style double taps.
Making some text/buttons bigger, and changing a few colours.


This is what I've got;




On the playlist screen you can hightlight by clicking the rightside of tracks, highlighted tracks can then be removed from the playlist using the bin icon.
Clicking in the track number column starts that track, whether selected or not.

In the playlists screen clicking the bin icon completely clears out the playlist (doesnt delete the playlist thought)


I think thats all I've changed functionality wise?

foo_httpcontrol

Reply #645
Kev0: obviously there is something wrong with playlist table tags (I can imagine some missing <tr> or <td>), and with complete source available to you only, no one else but you can figure out what. and we're out of the thread scope again.

foo_httpcontrol

Reply #646
Apologies for going off topic (again!)

Managed to fix it now, a missing > is all it was.

Quote
k-0.2.3 Release change log
------------------------

Now has full fucntionality in Opera, firefox and Chrome/Safari.

Making it fit the Android G1 resolution without unnecessary scrolling. (I use a modified browser that hides the notification bar, so there might be a tiny scroll when using the stock browser)
Making some text/buttons bigger, and changing a few colours.

Replacing the iphone style double taps;
On the playlist screen you can highlight by clicking the rightside of tracks, highlighted tracks can then be removed from the playlist using the bin icon.
Clicking in the track number column starts that track, whether selected or not.

On the playlists screen clicking the bin icon completely clears out the playlist (doesnt delete the playlist though)


Zip file here - http://tinyurl.com/ybjo678

Again, thanks to Auric, Joror and LxOfIth. They did all the hard work. And oblikoamorale, for the component and having the foresight to allow us to customise our own front end. All remote interfaces should be made like this!

foo_httpcontrol

Reply #647
Kev0: why don't you add an install file to your template? it will simplify addtion of template and its settings a lot (see example of install file in ajquery template). having a couple of screenshots wouldn't hurt as well.

 

foo_httpcontrol

Reply #648
nice to see and thx for sharing! its seems i'm the only one playing around with 320x240 resolution? let see, if i get it working some day, as scrolling sucks, when using such a nice interface.

foo_httpcontrol

Reply #649
Kev0: why don't you add an install file to your template? it will simplify addtion of template and its settings a lot (see example of install file in ajquery template). having a couple of screenshots wouldn't hurt as well.



nice to see and thx for sharing! its seems i'm the only one playing around with 320x240 resolution? let see, if i get it working some day, as scrolling sucks, when using such a nice interface.


I'll have a look at both of these if I get time.


alexinc, does the interface work as it should on you device? The only issue is the scaling of it, on your screens resolution?