Bug/undesired Behaviour of Android Client when pinning

General discussions.

Moderator: moderators

Bug/undesired Behaviour of Android Client when pinning

Postby chrissi323 » Sun Jan 29, 2012 8:54 pm

Hi,

I'm pretty new to Subsonic but it's awsome and since I did set it up I use it dailiy to servce my collection to various clients. One is a Galaxy Nexus with ICS. It works well, but today a stumbled over somthing

In my collection I have one directory for every album. If it is a two disc album I still have only one directory. The files a properly tagged with the CD tag so that they can be distinguished. Subsonic can handle this as long as the client is in online mode. If I pin a two disc album and use the client in offline mode the whole thing breaks. An example:

My file structure does look like this:

3,8M 2012-01-24 09:27 01 - Hey Baby.flac
22M 2012-01-24 09:25 01 - Jetzt Geht's Ab.flac
21M 2012-01-24 09:25 02 - Hausmeister Thomas D.flac
31M 2012-01-24 09:27 02 - Michi Gegen die Gesellschaft.flac
40M 2012-01-24 09:27 03 - Krieger.flac
14M 2012-01-24 09:25 03 - Mikrofonprofessor.flac

In online Mode the playlist is right, it plays track 1,2,3 from disc one and then track 1,2,3 from disk two. In offline mode it plays alphabetically which means track 1, track 1, track 2, track 2, track 3, track 3. It seems as if it doesn't honour the tags.

To make things worse, I have a two disc audiobook which has te following file structure:

1,1M 2012-01-29 17:23 01 - Pilzsaison Teil 1.mp3
5,8M 2012-01-29 17:23 01 - Pilzsaison Teil 2.mp3
5,5M 2012-01-29 17:23 02 - Pilzsaison Teil 1.mp3
5,2M 2012-01-29 17:23 02 - Pilzsaison Teil 2.mp3
7,9M 2012-01-29 17:23 03 - Pilzsaison Teil 1.mp3
7,9M 2012-01-29 17:23 03 - Pilzsaison Teil 2.mp3

The tags for the file are clean, but the title fiels only contains 'Pilzsaison', track tag and cd tag are corectly filled. Again, in online mode the playlist is right an all plays in the right order, however, if I pin this, it first downloads the three files from CD 1 and names them:

01 - Pilzsaison.mp3
02 - Pilzsaison.mp3
03 - Pilzsaison.mp3

and then loads the three files from the second CD and overwrites the first three.

So there are two problems:

1. the filesnames in the cache are created from the ID3 tags but the CD tag isn't used. This may lead to overwriting files in the cache if two tracks on the CDs have the same title in the title tag.

2. in offline mode the files are played in the wrong order because the playlist is not created from the tags, or the CD tag is missing or not used. I don't know what exactly causes this but I guess it's easy to see in the code. Btw. iSub has a similar problem when playing from it's cache.

I see, that I could workaround this by using an own directory for every CD, but we're talking of an over 200 GB collection which would take a lot of work to reorganize. And since the Andoid client handles it right if online I think it's the desired behaviour and the offline problem is a little bug :)

As last I have a small feature request. Would it be possible to show the track number in the online mode. This would make it easier to navigate in audiobooks.

Cheers

Chrissi
chrissi323
 
Posts: 2
Joined: Sun Jan 29, 2012 8:27 pm

Re: Bug/undesired Behaviour of Android Client when pinning

Postby mikimous » Wed Apr 18, 2012 4:08 am

Any update on this? Using both Subsonic and Isub, I see the same problem with the track order in offline mode. Online is great, but offline seems to be in track name order instead of track number.
mikimous
 
Posts: 6
Joined: Fri Dec 16, 2011 9:24 am

Re: Bug/undesired Behaviour of Android Client when pinning

Postby BKKKPewsey » Wed Apr 18, 2012 12:54 pm

As I don't use the android app I am not affected but you may be interested in this.

From Sindre's TODO list

DONE IN 5.0
-----------------
Added "created" and "discNumber" to Child in REST xsd

TODO IN ANDROID 3.4
--------------------
Maintain track order for offline files.

Hopefully next release will sort that problem out.

:)
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Bug/undesired Behaviour of Android Client when pinning

Postby mikimous » Wed Apr 18, 2012 8:09 pm

Thanks. Glad to see it is on the radar. Now if I could just see a GoogleTV client in the works too my life would be complete.



BKKKPewsey wrote:As I don't use the android app I am not affected but you may be interested in this.

From Sindre's TODO list

DONE IN 5.0
-----------------
Added "created" and "discNumber" to Child in REST xsd

TODO IN ANDROID 3.4
--------------------
Maintain track order for offline files.

Hopefully next release will sort that problem out.

:)
mikimous
 
Posts: 6
Joined: Fri Dec 16, 2011 9:24 am


Return to General

Who is online

Users browsing this forum: No registered users and 6 guests