Android: Single Folder Shuffle Play

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Android: Single Folder Shuffle Play

Postby itsthesource » Sun Feb 13, 2011 6:42 am

Situation: I'll be hosting audiobooks & the music libraries of three people with very different tastes in music.

Problems: As implemented, the shuffle play feature selects random tracks from all enabled music folders. This causes a couple of problems.

1. For those of us hosting audiobooks (I know I can't be the only one...), when an audiobook lands in the queue it's annoying. Audiobooks are meant to be played sequentially & it's just a waste of bandwidth trying to download these large audio files.

2. I'm not a fan of my girlfriend's music & the feeling is mutual. Just imagine... Pantera :D, Metallica :D, Led Zeppelin :D, Songs from the Nutcracker :shock:, Air Supply :oops: (seriously...)

Resolution: It seems the api allows for retrieving random songs from a specific music folder. What I'd like to request is to give us the ability to select a single music folder or all folders from the settings for each server. This would allow users to select random mixes for a specific folder (or all folders!) on each server.

BTW, thanks for the hard work. The new https feature was a breeze to setup under linux.
User avatar
itsthesource
 
Posts: 22
Joined: Thu Jan 06, 2011 2:30 am
Location: Richmond, VA

Postby ShaqFu » Fri Apr 29, 2011 5:10 am

I'd like to second this. I share my music server with two other people, and it makes shuffling impossible. I'd love to be able to shuffle one level down, so I can use everything in /person1/ and not /person2/.
ShaqFu
 
Posts: 5
Joined: Sat Jul 31, 2010 1:39 am

Postby NiteFlame » Tue May 10, 2011 6:27 am

I was just about to start a new topic requesting that but I finally saw this one.

I have exactly the same problem, hosting audio books and other stuff that I want not to appear on a random playlist. A feature to select / deselect content folders as in the "More" tab of the web interface would be awesome.
NiteFlame
 
Posts: 25
Joined: Wed Sep 09, 2009 5:24 am

Postby itsthesource » Sun May 22, 2011 9:14 pm

I spent the better part of a 60 mile commute on the motorcycle late this week listening to the middle of a harry potter audiobook, so I thought I'd take a look to see if anyone had considered this feature yet.

I suppose we may be the only three. :(
User avatar
itsthesource
 
Posts: 22
Joined: Thu Jan 06, 2011 2:30 am
Location: Richmond, VA

+1

Postby seedoubleyou » Mon Jun 06, 2011 3:53 pm

Amen to this.

I have 3 'music' folders defined within my Subsonic install. One for "Music", one for "Videos" and one for "Audiobooks."

Because my Audiobooks happen to also be in mp3 format, when I am at work and using the Android app to shuffle play, I have had to ensure that every so often I check the upcoming song list to remove any Harry Potter, Tolkein, etc. etc. that may be about to play.

It would be wonderful to simply tell it to shuffle random from the "Music" folder to mitigate this problem.
seedoubleyou
 
Posts: 6
Joined: Sat Jan 29, 2011 12:15 pm

Postby itsthesource » Thu Jun 23, 2011 3:07 am

Well I've found a workaround, but you'll have to compile your own apk.

You'll have to modify the getRandomSongs method in the file RESTMusicService.java

Replace the following line
Code: Select all
Reader reader = getReader(context, progressListener, "getRandomSongs", params, "size", size);


With the following code (customize to match the correct index for your music folder)
Code: Select all
Reader reader = getReader(context, progressListener, "getRandomSongs", params,
              Arrays.asList("musicFolderId", "size"), Arrays.<Object>asList(3, size));


'3' is a hard-coded value & will in all likelihood not match the index for your music folder, which is why I cannot compile an apk.
User avatar
itsthesource
 
Posts: 22
Joined: Thu Jan 06, 2011 2:30 am
Location: Richmond, VA

Re: Android: Single Folder Shuffle Play

Postby martyscholes » Wed Oct 26, 2011 5:56 am

+1 here also

My collection has audio books, podcasts, old time radio shows and yes, music too.

Wife and I love to doze off liistening to random old time radio shows: sometimes suspense, sometimes crime drama, sometimes comedy. It would be very cool to be able to set it to randomly sift through the genre which strikes us without the occasional NPR, Adele and Anthrax blasting as we doze off.

Please, we'd love this feature.
martyscholes
 
Posts: 41
Joined: Fri May 06, 2011 3:36 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 29 guests