By hexa on
I have audio module 1.x installed.
Everything works fine, but as my music library grew larger i noticed when browsing by genre, all entries get displayed on one page (there is no paging support). An example would be: http://SITE/audio/by/genre/metal .
Or even browsing by album loads too long page (ex> http://site/audio/by/album)
Any1 has any idea how to get paging support with this?
Comments
Paging support for audio when browsing by audio_metadata term
I was able to get this idea working using the views module. I had to build a view for each term I was limiting by :-( but at least its working!
The view is set to filter by the audio_metadata tag (Filter-> audio: tag %tagname1). This allows me to create 1 path (path field in the view) for each metadata tag that I want to limit by.
Its not pretty, potentially a LOT of views … 1 for each audio_metadata term you want to browse by, but it works.
fix to audio module to add paging for 'browse by'
I had the same problem and have a fix that I applied to the audio.module. Not sure how to get this submitted to be included in the actual module yet. I just had to change 1 line and add another. All in this method:
Changed this line from:
To this:
Then added one line:
$output .= theme('pager', NULL, 10);Here...