Download & Extend

Display DJ's name and photo (if added to his profile) in 'now playing' block

Project:Station
Version:6.x-2.x-dev
Component:Programs
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

It would be nice to have possibility to display DJ's name in 'now playing' block. It would be also a good idea to display his photo (if added to his profile).
Is there a chance to have it done? :)

Comments

#1

Category:feature request» support request
Status:active» fixed

if you grab today's -dev release (once it's updated) and the exported view from #580806: Next Scheduled Program Block you should be able to build a block that will do just this. you'll probably need to add a relation from the program to the user along the DJ user reference and then another reference from the user to their profile. But at that point you should be able to add the image to the view.

#2

A Few questions which are related to this:

1. What if you have more than 1 DJ that hosts a show? What about adding an image field to the program node itself. This would allow us to have a little 100 x 100 graphic next to the show name.

2. How can I add the word "show" before the name of the show?
Show: We're on Autopilot

3. I would like to add the time range of the show on a line below the Show.
Show: DJ Cookie Weekly Show
Now Playing: 13:00 - 15:00

4. How can I add an extra line which contains code which picks up my MP3 tags? I have the code necessary, I'm just wondering how to add it to the On Air block?
Show: DJ Cookie Weekly Show
Now Playing: 13:00 - 15:00
Track: Roni Size - Jazz Note

5. So the final result would be:

The Show's picture to the left:
then just to right of the picture:
Show: DJ Cookie Weekly Show
Now Playing: 13:00 - 15:00
Track: Roni Size - Jazz Note
Tune in: Jungle.FM 128k Stream

#3

Please see this discussion.

http://drupal.org/node/480788

#4

cookiesunshinex, most of the things you want should be very doable with the views support in the beta1 release.

1. you could either attach the image to the program or when you add the relationship you can specify a delta of 0 to just select the first dj

2. change the field's label value.

3. there's a time range field. add that to the view and select the hour range.

4. not sure of the best way to do that. you might need to write a little views code.

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here