Posts: 4
Joined: Sep 2005
Reputation:
0
2005-09-08, 10:53
hello,
i want to help someone to write a script that can play an .au audio file on the xbox
someone have an idea how to do that ? with an external dll or anything else
thanks you much for you help
Posts: 707
Joined: Jul 2004
Reputation:
6
the gui cpio77 wants to help is myself...
we have a phone provider that can send us answerring machine messages for download on a website. i made the script to catch the message but xbmc just can't read it....
the file is sun format (.snd magic word)
i can translate it into .wav format which can be read by xbmc. but the translation .au --> .wav can't be done under python xbmc as the audioop lib is missing....
so i really hop someone could help us !
see ya
Posts: 707
Joined: Jul 2004
Reputation:
6
hi !
some news about my problem
someone write me a part of the audioop library into pure python code (translated from the c source of the lib)
i'm able to translate the .au file into .wav valid audio file that xbmc player can read. but (always this f*** but :@ ), but at the end of the .wav reading file, it is not correctly stopped so the file still open. if i read up to the end this wave file from the music section of xbmc it simply hang my xbmc. no problem if i stop the reading before it ends itself....
always need help, si if you can, please help !
Posts: 707
Joined: Jul 2004
Reputation:
6
hi !
it's ok, i'm now able to make a valid wave file from the au file.
then no problem to read it.
it was hanging at the end, because (i think) i was trying to play the wave file with python to early after creating it. the wave file was not totally closed as the wave library check data frames before closing it...
anyway, it works, but i'm not good enough to implement the .c file to create a new codec....