Closed (fixed)
Project:
Audio
Version:
5.x-2.x-dev
Component:
Views support
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2007 at 05:52 UTC
Updated:
29 Sep 2007 at 23:16 UTC
I would like to listen to all songs found by pressing view by the following categories:
* artist
* genre
* title
* year
Default listing for results by categories is a teaser view. I would like to use audio player instead. I believe this is possible to to with views.module, but I dot know how. Could anyone elaborate on this?
Comments
Comment #1
drewish commentedthis is really a duplicate of http://drupal.org/node/80991
Comment #2
yngens commenteddrewish, thanks for the link. i am sorry i did not clearly express what i wanted yesterday. i believe my request is little bit different from one on the page you posted a link for.
i stated incorrectly yesterday that i wanted all the songs on "audio/by/artist" listed in a single audio player. i actually meant the path "audio/by/artist/particular_artist". of course "audio/by/artist" should display all the songs numbered by artists. but i want when selecting on that page (audio/by/artist) a particular artist all his/her songs listed not as teasers, but in a single player.
i hope this time i could express more clearly what i requested a feature for.
p.s. i have just taken a look at views, could not find category (by artis, genre, title, year) handling for audio files over there.
Comment #3
sgriffin commentedUse contemplate, and or a node_tpl..
You can override the teaser view here and format the data however you want.
Its not really hard at all.
Comment #4
yngens commentedsgriffin, thank you for your suggestion. but i did not get how i could put all the songs of a particular singer in one player by theming. can you give some more details?
Comment #5
sgriffin commentedLooks like you would need to create a php page to take some term arguments, query the db and output the appropriate xml.
Which you could then call from contemplate.
A bit steep to do yourself, but thats how it would be done.
Comment #6
yngens commentedi am sure that is doable as you suggest. but i would like to keep 'list by' function of the audio module and requesting to bind new function to the module. there is already very good and comfortable function - list by - and i do not want to loose it by creating custom view. i would like to list all the audio files let's say by artist, but then when i have a page with all the songs categorized by artists i would like to be able to click on any artists name and list his/her song not as teasers, but in one audio-player.
Comment #7
drewish commentedthen it sounds like this really is a duplicate of http://drupal.org/node/80991 because to be able to do what you've described these pages would need to be built using views.
Comment #8
yngens commentednow i see. to me my request is a duplicate of http://drupal.org/node/118788, 'cause http://drupal.org/node/80991 sounds different. but since it is decided those are somehow similar tasks i will follow http://drupal.org/node/80991. thank you.