Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Help:
Jeroen FLV Player
caramello



Joined: 01 Aug 2006
Posts: 24
Location: Den Haag

Posted: 05/29/08 02:37 
The array with vars work perfectly, but i can't seem to get the titles to be shown in the playlist.

Am i forgetting something ?

Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 05/29/08 03:36 
Just to let everyone know, the color codes need to be in HEX format...

{jr_array name="vars" key="backcolor" value="0x000000"}

instead of

{jr_array name="vars" key="backcolor" value="#000000"}


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 05/29/08 03:37 

caramello:
The array with vars work perfectly, but i can't seem to get the titles to be shown in the playlist.

Am i forgetting something ?


I'm seeing the same thing, no artist name and titles are undefined.


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 06/03/08 02:11 
To get the titles and song names working when using a displaywidth and a playlist inside the player i did this.

FILE:include/plugins/jrPlaylist/xspf.default.tpl
LINE: 28 - 29
+ <creator>{$_media.band_name}</creator>
+ <title>{$_media.song_album} - {$_media.song_name}</title>
CHANGE: added info for the song data to be displayed.

There might be a better way that would withstand upgrades and if there is then i'd love to know. but this should get things going to start with.

Back to top
caramello



Joined: 01 Aug 2006
Posts: 24
Location: Den Haag

Posted: 06/03/08 02:58 
Thanks man, that fixes the problem.

Julius

Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 06/06/08 06:59 

ussher:
To get the titles and song names working when using a displaywidth and a playlist inside the player i did this.

FILE:include/plugins/jrPlaylist/xspf.default.tpl
LINE: 28 - 29
+ <creator>{$_media.band_name}</creator>
+ <title>{$_media.song_album} - {$_media.song_name}</title>
CHANGE: added info for the song data to be displayed.

There might be a better way that would withstand upgrades and if there is then i'd love to know. but this should get things going to start with.


In my opinion, this should be added to the xspf.default.tpl file for future releases, along with adding the creator and title tags for videos as well.

Thanks ussher it works great! Wink


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 06/06/08 15:50 
Glad i could be of assistance. Im getting so much help from the forums its nice to be able to give some back. Smile

I missed a bit.

The addition above only puts out the names for the songs. Not the videos. if you also want the titles for the videos to appear you need:

FILE:include/plugins/jrPlaylist/xspf.default.tpl
LINE 10-11
+ <creator>{$_media.band_name}</creator>
+ <title>{$_media.video_name}</title>
CHANGE: added info for the video titles to be displayed.

Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 06/06/08 16:40 

SixString:

In my opinion, this should be added to the xspf.default.tpl file for future releases, along with adding the creator and title tags for videos as well.


I'll check this out - I just need to ensure it is not going to interfere with the standard Jamroom flash player.

Thanks!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 06/06/08 23:02 
In the mean time, you could just copy the "xspf.default.tpl" file to a file called "xspf.tpl" in the same directory (with your additions to the code), and Jamroom will use that template instead of the default template.


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
daddysylem
DS Flash Players


Joined: 30 Mar 2005
Posts: 4086
Location: Southern California

Posted: 06/07/08 08:57 

bigguy:
I'll check this out - I just need to ensure it is not going to interfere with the standard Jamroom flash player.

Thanks!

- Brian


The standard Jamroom flash player doesn't use those tags, so adding them shouldn't interfere at all........ Very Happy


_________________
I have no idea why I do this..................
Email: daddysylem[at]dsplayerskins.com
DSPlayerSkins.com
GCFireSprinkler.com
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Help

< Previous12
 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.