wmc_mapping documentation

2 messages Options
Embed this post
Permalink
Dominik

wmc_mapping documentation

Reply Threaded More More options
Print post
Permalink
Hi,

I am writing my own MediaServer backend and like to play some audio files that are provided by this backend from by xbox 360.

I understand that the xbox likes some special treatment :-) for audio files but I don't know what treatment this is.
So can somebody point by to some documentation about wmc_mapping etc.

cheers
dominik
Frank Scholz

Re: wmc_mapping documentation

Reply Threaded More More options
Print post
Permalink
Hi,

> I understand that the xbox likes some special treatment :-) for audio files but I don't know what treatment this is.
> So can somebody point by to some documentation about wmc_mapping etc.

I once did this page http://coherence.beebits.net/wiki/XBox
hope it is still valid.

For audio it basically boils down to something like this:

 self.wmc_mapping.update({'4': lambda :
          self.get_by_id(AUDIO_ALL_CONTAINER_ID),    # all tracks
                          '7': lambda :
          self.get_by_id(AUDIO_ALBUM_CONTAINER_ID),    # all albums
                          '6': lambda :
          self.get_by_id(AUDIO_ARTIST_CONTAINER_ID),    # all artists
                                })

as used in the MediaDB backend.

Albums of an artist aren't displayed yet, but I have an idea
on how to fix that.

Regards,
Frank
_______________________________________________
coherence-dev mailing list
[hidden email]
http://lists.beebits.net/cgi-bin/mailman/listinfo/coherence-dev