UPnP Audio : No track number passed, all albums play alphabetically

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
edszfa Offline
Junior Member
Posts: 11
Joined: May 2012
Reputation: 0
Post: #1
Hi,

I've got a strange problem with the UPnP server component of XBMC - for some reason when playing audio files my clients seem to list all album tracks in alphabetical order with no regard for the track numbers. I can confirm that these track numbers are held in the ID3 tags of the mp3s, and the even the files themselves are in the correct order as the track number prefixes the song title in my file naming convention.

Is there an option somewhere that I'm missing to pass the track numbers (or force a sort by track no./ file name)? With settings as they are I can't see the UPnP audio server side of things being much use as it's not possible to listen to an album in the correct order. I've been all over the menus, although admittedly I've not dug through the advanced settings config files, looking for a fix. It's driving me crazy.
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #2
This is a long standing, erm, feature of XBMC's UPnP support. Basically the UPnP server is a half hearted implementation. I believe there is a project imminent to look at completely rewriting it.
find quote
edszfa Offline
Junior Member
Posts: 11
Joined: May 2012
Reputation: 0
Post: #3
Wow, really? What a shame, I can't believe something this basic is a bug and hasn't been addressed - it's such a fundamental flaw with what I'd imagine to be a trivial fix.

Many thanks for letting me know, you've saved me hours looking at all the possible config options and wondering what I need to do to fix it. I guess I now need to find and run a sepearate UPnP alongside my XBMC install. Bah.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,564
Joined: Oct 2003
Reputation: 138
Post: #4
The track is set in the object's m_MiscInfo.original_track_number

It may well be that your client is expecting something else.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
nelms Offline
Junior Member
Posts: 1
Joined: May 2012
Reputation: 0
Post: #5
Every client I have tried is the same in that songs are listed in alphabetical order. I've tried on my wp7 phone AV Remote, Linada and onePlayer. On my Ipad2 I've tried AirAV and media:connect all display tracks in alphabetical order.

I found this on the forum for media:connect:
http://support.personasoftware.com/discu...ort-option

Looks like there are a few who find this an issue. Is this on the roadmap for XBMC to look at and if so do you have a timescale?

This is my only niggle with what is otherwise such an amazing system.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,564
Joined: Oct 2003
Reputation: 138
Post: #6
By the looks of the what it says there we already do set the appropriate properties. You need to track down exactly what needs setting up that we're not doing correctly. Any documentation found would be useful for developers.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
edszfa Offline
Junior Member
Posts: 11
Joined: May 2012
Reputation: 0
Post: #7
So is it original_track_number or originalTrackNumber? Does this make a difference? I'm guessing it's most likely a bug rather than an incorrect design if it looks like XBMC is doing what 'it's supposed to'.

For info, I've never had any of my players get music in the correct order from XBMC, this includes hardware players such as Roku etc. Other open-source servers such as mt-daapd (formerly FireFly) seem to work as expected with everything I own.
find quote
edszfa Offline
Junior Member
Posts: 11
Joined: May 2012
Reputation: 0
Post: #8
Not that this is probably being read anymore but I've found a player which allows you to 'force' ordering by track number and even this doesn't work with XBMC as a uPnP source. Maybe it isn't passing anything at all in this property?? Or passing single dodgy value?
find quote