editing the recent tracks widget.

Read 13885 times
how can i remove the album title from the recently played tracks widgets. i removed the css but i dont know js to well...
indiecore.net - playing everything that f**king rocks!
theycallmeruffi.com - my personal site
nvm got it working.... check it out in sig.

also i did get that refusal connection 111 stuff. but autoDJ still works. I mean it still plays songs but wont display title information etc.

EDIT: i left the radio running while i restarted centova and no hiccups, no sound dips, played right through to the next song and finally restored the song info. crazy.
Last Edit: March 15, 2011, 10:12:12 pm by ruffino
indiecore.net - playing everything that f**king rocks!
theycallmeruffi.com - my personal site
How did you get rid of the Art in the widget??
There are undocumented features in all the widgets now to allow users to customize things a bit.  Adding this before your widget <script> tag will give you access to them:

Code: [Select]
<script language="javascript">
window.centovacast = {
options: {
recenttracks: {
poll_limit: 60, // number of times to update the tracks list before stopping
poll_frequency: 60000, // how often (in milliseconds) to poll the server
track_limit: 0, // number iof tracks to display (0 to display all on file)
show_covers: 1, // 1 to show covers, 0 to hide
buy_target: '_blank' // '_blank' to open in new window, '' to open in same window
}
}
};
</script>

Tweak as needed (in this case, set show_covers to 0) to achieve whatever effect you're looking for.

As always, the overall appearance is configured using CSS.
There are undocumented features in all the widgets now to allow users to customize things a bit.  Adding this before your widget <script> tag will give you access to them:

Code: [Select]
<script language="javascript">
window.centovacast = {
options: {
recenttracks: {
poll_limit: 60, // number of times to update the tracks list before stopping
poll_frequency: 60000, // how often (in milliseconds) to poll the server
track_limit: 0, // number iof tracks to display (0 to display all on file)
show_covers: 1, // 1 to show covers, 0 to hide
buy_target: '_blank' // '_blank' to open in new window, '' to open in same window
}
}
};
</script>

Tweak as needed (in this case, set show_covers to 0) to achieve whatever effect you're looking for.

As always, the overall appearance is configured using CSS.
Is very optimistic that feature.
But how can I "delete" the "buy now" from this widget?
Ι dont wont to promote itunes for free