Centova Technologies Forum

Centova Cast v3 => Bugs and issues => Topic started by: ruffino on March 15, 2011, 09:14:26 pm

Title: editing the recent tracks widget.
Post by: ruffino on March 15, 2011, 09:14:26 pm
how can i remove the album title from the recently played tracks widgets. i removed the css but i dont know js to well...
Title: Re: editing the recent tracks widget.
Post by: ruffino on March 15, 2011, 10:09:01 pm
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.
Title: Re: editing the recent tracks widget.
Post by: jtaylor on July 09, 2012, 03:36:17 pm
How did you get rid of the Art in the widget??
Title: Re: editing the recent tracks widget.
Post by: Centova - Steve B. on July 12, 2012, 10:54:24 pm
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.
Title: Re: editing the recent tracks widget.
Post by: iJohnnyCash on October 31, 2012, 12:01:32 pm
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