INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: UPnP renderer: playing album from flac image file  (Read 1414 times)

doulos

  • World Citizen
  • ***
  • Posts: 148
UPnP renderer: playing album from flac image file
« on: November 24, 2012, 05:05:34 am »

Hello,

I am implementing a UPnP renderer for Android (part of MediaSteersman), and am facing the following problem in playing albums which are stored in flac image files with accompanying cue sheets:

When browsing the library, I am getting different resource urls for each individual track inside the album, for example http://192.168.178.60:52101/Music/F784.flac for the first track and http://192.168.178.60:52101/Music/F786.flac for the second one. However, no matter which URI I use, playback always starts at the beginning of the album. Also, when I enter these URIs in a web browser adddress field, I get the full (>500MB) image file.

I am obviously doing something wrong here, maybe even overlooking something in the UPnP spec. Can somebody fill me in, please?

thanks,
Christian
Logged
MediaSteersman - Your Media at Your Fingertips

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: UPnP renderer: playing album from flac image file
« Reply #1 on: December 17, 2012, 10:33:53 am »

When browsing the library, I am getting different resource urls for each individual track inside the album, for example http://192.168.178.60:52101/Music/F784.flac for the first track and http://192.168.178.60:52101/Music/F786.flac for the second one. However, no matter which URI I use, playback always starts at the beginning of the album. Also, when I enter these URIs in a web browser adddress field, I get the full (>500MB) image file.

I am obviously doing something wrong here, maybe even overlooking something in the UPnP spec.

No, I would say that you are not doing anything wrong at all!

If MC is offerring two different urls for different parts of the same image file, then it is obviously clever enough to recognise that it ought to serve different parts of that file. But, if it is not actually serving diffrent parts of the file, and each of the different urls is actually just downloading the same whole image file, then this is a bug in MC that needs to be fixed.

Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: UPnP renderer: playing album from flac image file
« Reply #2 on: December 31, 2012, 04:56:36 pm »

If you turn on conversion (or really just decoding in the case of L16 or Wave) you'll get the individual tracks.
Logged
Pages: [1]   Go Up