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 940622 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_httpcontrol

Reply #500
When I use the search function (Query), the playlist does not load until you start playing in the album art pane.

Sorry I cannot reproduce this issue with 0.2.1. Please try with that version but I doubt it would change anything as I haven't updated this aspect.

Can you please describe precisely where you start from (empty playlist or no, playing or stopped) and what you do then?

foo_httpcontrol

Reply #501
I would hug you if i could lxofith!!!

Cheers!
-Patrick

foo_httpcontrol

Reply #502
When I use the search function (Query), the playlist does not load until you start playing in the album art pane.

Sorry I cannot reproduce this issue with 0.2.1. Please try with that version but I doubt it would change anything as I haven't updated this aspect.

Can you please describe precisely where you start from (empty playlist or no, playing or stopped) and what you do then?


lxo,

OK.  Let me see if i can describe this correctly...

I have other playlists loaded and selectable on the page that lists the playlists.  Say my "All Music" List is currently selected.

Then in playlist page, there is the search bar at the top/right.  When I type say "Frank Zappa", it thinks for a second and then, the playlist page is blank, but at the top it will say something strange like Page 1 of 11212910, usually repeated twice.  If I go back to the list of playlists page, it shows "Query" at the bottom, and shows the appropriate amount of tracks.  Go back to playlist, still blank. 

Now go to album art screen, and press play or next, the Frank Zappa playlist now starts playing back.  If I then go back to the playlist it is no longer blank and says "Page 1 of 46" or whatever....  all is well.

I will try to make some screenshots showing what it looks like.

thanks again for the hard work oblik and lxo.

foo_httpcontrol

Reply #503
When I use the search function (Query), the playlist does not load until you start playing in the album art pane.

Sorry I cannot reproduce this issue with 0.2.1. Please try with that version but I doubt it would change anything as I haven't updated this aspect.

Can you please describe precisely where you start from (empty playlist or no, playing or stopped) and what you do then?


lxo,

OK.  Let me see if i can describe this correctly...

I have other playlists loaded and selectable on the page that lists the playlists.  Say my "All Music" List is currently selected.

Then in playlist page, there is the search bar at the top/right.  When I type say "Frank Zappa", it thinks for a second and then, the playlist page is blank, but at the top it will say something strange like Page 1 of 11212910, usually repeated twice.  If I go back to the list of playlists page, it shows "Query" at the bottom, and shows the appropriate amount of tracks.  Go back to playlist, still blank. 

Now go to album art screen, and press play or next, the Frank Zappa playlist now starts playing back.  If I then go back to the playlist it is no longer blank and says "Page 1 of 46" or whatever....  all is well.

I will try to make some screenshots showing what it looks like.

thanks again for the hard work oblik and lxo.

I have been experiencing strange playlist behavior as well, it seems related to paging. For example, load a playlist whose size is larger than the page size (or use a small page size). Then start playing the playlist, and skip to the next track until you get to the last item in the current playlist page. At this point if you ask for the next track again the display is not refreshed, and in fact you get a javascript error because the playlist data is corrupted. Now if you restart the currently playing track from within foobar, then reload the remote things are fine again until you reach the next page. I fear the issue lies at the plugin side, I'll have to check with oblikoamorale.

foo_httpcontrol

Reply #504
Ixo,

Thanks for 0.2.1  I am liking the square art much more.


foo_httpcontrol

Reply #505
hi,

i wonder if the default skin is supposed to look like this: http://i30.tinypic.com/vzbt4y.png ?

also, i had to move the foo_httpcontrol_data directory from the components subdirectory into the foobar directory itself, because of an error message, maybe it has something to do with this.

i have foobar installed in portable mode on a mapped network drive..

and a last question, i put some .m3u files with internet radio stations (mp3 based) into the data directory and expected, that they would be loaded and played when clicked on in the web interface, but nothing happens - a bug or is it the wrong way to do this?

thanks in advance and thanks for the super snappy web interface (i have it run on an embedded windows xp device with a 400 mhz processor)


foo_httpcontrol

Reply #506
@ oblikoamorale 

Thanks for 0.94 now with template
This is the biggest you are the best


only a small thing:

failed to read C:\Programme\foobar2000\components\foo_httpcontrol_data\default\foo_httpcontrol_controls_tpl.html, error code 3.

foo_httpcontrol

Reply #507
Hi all,

I have made a slight modification to my template as a bonus before going on vacation. I hoped I could do more but time flew by as usual and you guys will have to wait until I come back to have new real features ;-)

Version 0.2.2 is available at the usual location:
http://www.mazeofith.net/foo_httpcontrol

Cheers

Lx_

foo_httpcontrol

Reply #508
foo_peter, not a bug. it is possible to have different templates installed without copying files and settings around. therefore stock template (named default) contents are expected to be found in folder 'default', according to new predefined setting in component preferences page.

lxofith, interestingly (and strangely) enough, your work is viable even on Opera

foo_httpcontrol

Reply #509
lxofith, interestingly (and strangely) enough, your work is viable even on Opera

I am glad to hear that, though I cannot say I am too surprised: most of the code is standard HTML/JS and would work in most browsers. There are only a few things that are iPhone-specific. I plan to remove the most annoying ones (e.g. playlist control) in the next version.

Also you must cope with the layout. What device are you using it on?

 

foo_httpcontrol

Reply #510
lxofith, I'm just experimenting with your temlate on desktop pc. my mobile device browser is quite picky about javascript and cannot stand even highly unsophisticated stock template (damn you, nokia!).

to everyone using the component: please update to 0.95. there are no new features, but it addresses quite important fixes.

foo_httpcontrol

Reply #511
lxo, and obliko,

Thanks again for your tireless efforts.

I will grab .95 and 0.2.2 today.

lxofith, enjoy your vacation, you've earned it im sure.
Oblikoamorale, you should take one as well!!!

Two questions.... I am not asking for you to take this to task, but curious if it is even possible to have the "alphabet" type scroll bar on the right for playlists?  As the Remote app, and Contact lists do?  If so, would this eliminate the need for "Pages" in the playlist?  Also, would it have issues with huge playlists 80K+?

Lastly, how would the user defined searches, that lxofith mentioned, be implemented?  Would it be similar to the Remote app with tabs at the bottom for artist, album, song?  If so, that would be fantastic.

Thanks again everyone.  This has fully changed my listening experience.  I listen to music far more often than I was able to previously given my 100% computer source at this point (no CD or TT for me).  If I or someone else was watching TV, I would be able to change tracks or pick a different list.

-Patrick

foo_httpcontrol

Reply #512
NICE!!!!!!  lxofith, Did you add album art reflection at the bottom?  If so I didnt notice it before.  It is getting better all the time.

thx,
P

foo_httpcontrol

Reply #513
NICE!!!!!!  lxofith, Did you add album art reflection at the bottom?  If so I didnt notice it before.  It is getting better all the time.

Yes, I got the idea when looking at a screenshot of iTunes Remote and thought it was nicer than the solid background we had. It took little time to implement on firefox but then I had to work around a Safari-specific bug. Otherwise the feature would have found its way into a previous version.

foo_httpcontrol

Reply #514
That's nice work, lxofith.  Well done!

foo_httpcontrol

Reply #515
lxofith,

I am not sure what has changed but the loading of playlist when using the "search bar" seems to be working correctly.
Previously it would refresh the playlist, although in Foobar is was creating one.  Now it loads the list so one can cheery pick songs.

This is so good!

foo_httpcontrol

Reply #516
my mobile device browser is quite picky about javascript and cannot stand even highly unsophisticated stock template (damn you, nokia!).


Hello oblikoamorale,
thanks for you nice plugin! I made the following changes to your template to get it working with my Nokia E51:

pad(): rename variable "char" to "ch"
fit(): wrapped around the "style." lines: if(navigator.userAgent.indexOf('Series60/3.')==-1) {}
.npc: added "z-index:-99"
id="playlist": closed <div>

You can find it here.

foo_httpcontrol

Reply #517
you're right, thanks for pointing that out!
things with nokia browser don't look so gloom anymore, so we just have to cook something appropriate for tiny screens.

foo_httpcontrol

Reply #518
Thanks for the update, I like the template folders. Makes it easier to update either the component or the custom template, and try out other templates. May many templates bloom!

I didn't customize the browser_tpl yet, but I have to include it in the directory anyway. Might be nice if the component would fall back to the /default/ folder in such cases, but it's no big deal.

What I don't like so much is having to copy the album art rule. Does anyone want to use different album art depending on the template?

I've updated my own 'sidebar' template, latest one is here, in a zip now including browser_tpl. controls_tpl has been updated a bit to track the default template and also to make it work a bit better outside a sidebar, looks are still the same.


foo_httpcontrol

Reply #519
Ritsl, maybe you're right and having individual album art setting for every template is overkill. but on the other side I can imagine a couple of cases where it might be useful.
regarding a set of "common" files for templates, well... no, I don't think it is a good idea. it will mess things up and cause a confusion rather than do any good.

foo_httpcontrol

Reply #520
my playlist code row:
Code: [Select]
<td class="p">[%tracknumber%] - <td class="p"><b>[%artist%]</ b> - [%title%]</td><td class="t">%length%&nbsp;&nbsp;&nbsp;&nbsp;</td><td class="p" style="color:yellow">&nbsp;$repeat($char(9733),[%rating%])&nbsp;&nbsp;</td><td class="t">[%play_counter%]&nbsp;&nbsp;</td><td class="count" style="color:red">&nbsp;&nbsp;[%the best%]</td>



foo_httpcontrol

Reply #521
I've given my Sidebar template a home now.


foo_httpcontrol

Reply #522
Hey, all... I've lurked on this site for a long time and now I finally have a question. I was wondering if anyone could help me  I get this error.

failed to read C:\Users\georgy\AppData\Roaming\foobar2000\foo_httpcontrol_data\default\foo_httpcontrol_controls_tpl.html, error code 3.

Any help would be appreciated thank you so much.

Also have any of you tried to run it on other ports other than 8888 ?

foo_httpcontrol

Reply #523
Hey, all... I've lurked on this site for a long time and now I finally have a question. I was wondering if anyone could help me  I get this error.

failed to read C:\Users\georgy\AppData\Roaming\foobar2000\foo_httpcontrol_data\default\foo_httpcontrol_controls_tpl.html, error code 3.

Any help would be appreciated thank you so much.

Also have any of you tried to run it on other ports other than 8888 ?


Nvm. I figured it out! Thank you for reading.

foo_httpcontrol

Reply #524
So, this is fucking awesome!!!!!!! Thank you so much.

Only thing is that the search isn't working. Does it matter how big your playlist is? Mine is 30,000 +