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

drewish’s picture

this is really a duplicate of http://drupal.org/node/80991

yngens’s picture

Title: How to view all the songs in a single audioplayer when pressing sort by artist, genre, title or year? » How to view all the songs of a particular singer in an audioplayer?

drewish, 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.

sgriffin’s picture

Use 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.

yngens’s picture

sgriffin, 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?

sgriffin’s picture

Looks 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.

yngens’s picture

i 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.

drewish’s picture

Status: Active » Closed (duplicate)

then 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.

yngens’s picture

Status: Closed (duplicate) » Closed (fixed)

now 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.