Forum Activity for @ken-rich

Ken Rich
@ken-rich
12/10/14 05:35:29PM
926 posts

How to show different artist name?


Using Jamroom

So does this if, then statement (cloned from elsewhere) solve this, or is it going to break my network?

  {if $a._item.$ext == 'mp3'}
            {
                title: "{$a.title}",
                artist: "{if strlen($item.audio_alternative_artist) > 0}
                    {$item.audio_alternative_artist}
                {else}
                   {$a.artist}
                {/if}",
                mp3: "{$jamroom_url}/{$a.module_url}/stream/{$params.field}/.....
Ken Rich
@ken-rich
12/10/14 04:23:44PM
926 posts

How to show different artist name?


Using Jamroom

SteveX:
Ken_Rich:However, this is an 84 year old guy who's not computer savvy.
If I were you I'd avoid altering my templates for such a user.

Hi Steve,

He's not the only one requesting this, and I can see it being useful for others down the road too. Industry reps for instance, and "The Love Offering Tour" account which has submissions from various artists, not all of them members.
Ken Rich
@ken-rich
12/10/14 04:17:32PM
926 posts

How to show different artist name?


Using Jamroom

Ok - it looks like this is the template:
modules/jrAudio/templates/jrAudio_player_dark.tpl

and this is the pertinent code

 {if $a._item.$ext == 'mp3'}
            {
                title: "{$a.title}",
                artist: "{$a.artist}",
                mp3: "{$jamroom_url}/{$a.module_url}/stream/{$params.field}/.....
                
       

So the question becomes - how do I tell it to substitute {$item.audio_alternative_artist} for {$a.artist} if it's filled in, otherwise default to profile owner as normal?
updated by @ken-rich: 12/10/14 04:24:55PM
Ken Rich
@ken-rich
12/10/14 03:49:26PM
926 posts

How to show different artist name?


Using Jamroom

paul:
Quote: Will it show in the player?
It can do. Players are also built by templates (look in the jrAudio or jrVideo template folders) so your custom field could be shown there instead of 'profile_name'

OK - studying this out thanks a bunch...
Ken Rich
@ken-rich
12/10/14 02:55:36PM
926 posts

How to show different artist name?


Using Jamroom

Yes I already thought of the power user thing. However, this is an 84 year old guy who's not computer savvy. He's got a load of songs migrated over and it would be taxing on him if he had to reload them all, and keep track of a bunch of profiles to boot.

I got a similar situation with someone else. Need a simple workable solution.
Ken Rich
@ken-rich
12/10/14 02:42:22PM
926 posts

How to show different artist name?


Using Jamroom

brian:
I'm not sure why it would be Profile name first - the profile name is not currently included in the audio list title.

Hi Brian,

It's actually not first it's behind it on the player (see attached).

There is no place on the upload form for artist name, so whatever you upload is automatically by "Profile Name".

This is an actual case. George Wells is the profile owner and songwriter. He is uploading it but wants to put the artist name who is actually performing it.

If he puts it with the song title, it's still going to say by George Wells in the player.
george.JPG.jpg george.JPG.jpg - 29KB

updated by @ken-rich: 12/10/14 02:48:11PM
Ken Rich
@ken-rich
12/10/14 02:34:29PM
926 posts

How to show different artist name?


Using Jamroom

paul:
If you use the form designer to add in a field, say 'audio_alternative_artist', you need to modify the template, so basically, add {$item.audio_alternative_artist} to the template where you want it to show.

Will it show in the player? The problem is that whatever is uploaded is automatically tagged "by Profile Owner", because it assumes the account holder is the artist.

So I'm thinking what's required is probably a little more complicated, like an "if, else" substitution wherever it is the player get's the name from.

Like "if alternative artist >1 use that, else use normal profile name" but in the proper place with the proper coding.
Ken Rich
@ken-rich
12/10/14 02:24:41PM
926 posts

How to show different artist name?


Using Jamroom

michael:
Which templates did you change and what did you change them too? Thanks.

D'OH - I was supposed to change templates too? lol
- 42KB

updated by @ken-rich: 12/10/14 02:25:24PM
Ken Rich
@ken-rich
12/10/14 02:23:33PM
926 posts

How to show different artist name?


Using Jamroom

Hi Brian,

Well the thing is, then it would be.

Profile Name: Artist Name: Song Name (since the profile name is added no matter what currently).

So what they are asking, is to hide the profile name and have a place to enter an artist name instead.

I'm trying to install what Paul suggested right now...
Ken Rich
@ken-rich
12/10/14 11:48:04AM
926 posts

Still No Joy With The Network Sharing...


Installation and Configuration

Wow - can't believe it was something that simple. I was "chasing my tail" over at Facebook when it was a OneAll setting the whole time - D'OH...

I just got LinkedIn working now too so I'm good to go... Thanks so much, I was really "sweating this one...
images.jpg images.jpg - 12KB

updated by @ken-rich: 12/10/14 11:49:04AM
  63