Closed (fixed)
Project:
Audio
Version:
5.x-1.3
Component:
Views support
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2008 at 20:29 UTC
Updated:
25 Apr 2008 at 03:41 UTC
I'm trying to setup a view to show a page of audio tracks by a given artist. The URL would be $artist/audio.
However, there doesn't seem to be an argument filter of "Audio: Tag Artist" like there is in the regular filter.
I poked around for some help and found something about adding your own filter but it didn't work.
<?php
if (isset($args[0])) {
views_view_add_filter($view, 'audio_metadata_genre', 'clean', '=', $args[0], '');
views_sanitize_view($view);
}
return $args;
?>
Can someone point me in the right direction. Thanks!
Comments
Comment #1
tayknight commentedWhere did you find this info? I'm trying to do the same thing with album. Thanks.
Comment #2
tayknight commentedI had the same problem. Clearing the view cache from admin/build/views/tools fixed it for me.
Comment #3
drewish commentedComment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.