Help Needed: How to select a audio channel from script (Karaoke script)
#1
Question 
I am trying to develop a Karaoke script to playback Karaoke movies.
Actually, I have done a PC Application to playback Karaoke MPEG files and using PDA as remote controller.

Personal Karaoke
(Sorry only Taiwanese page, I'll write a English version soon)

I want to use XBMC as my media player and using SMB to playback the media files.
My Karaoke server will connect the script via network TCP/IP and pass command from server.

The PDA remote controller software has a function to select rhythm only or stereo.
The only problem is that I cannot select a audio channel from Python player class.

Karaoke mpeg files have 2 audio channels, one for rhythm only and the other for main voice.
I know you can use UI DVD menu->Audio Settings->Select Channel but how to control it from script.

If it's not possible to control it, any suggestion to do this?

Thanks!Blush
Reply
#2
well currently there isn't anyway to do this. but a patch would be accepted i'd think. so anybody up to the challange Smile
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
Reply
#3
I'm also working on something similar and need to be able to change the audio stream of VOB files. Could someone please help. Thanks in advance.
Reply
#4
I am going to try xbmc HTTPAPI to replace python script.
HTTPAPI seems to provide more control function than python api.

Actually, I have succeeded to play a smb://mpeg file over HTTPAPI.
I bought a external AMP for audio selection.
Now I just put my XBOX under this AMP. Wink

Not good but.... still workable ...
I can enjoy my Home Karakoe system without putting a PC in my living room.
Nod
Reply
#5
All the HTTP API commands and XBMC's built-in commands should be available through python as well, ...I think? http://xboxmediacenter.com/wiki/index.ph...API#Python

right? Huh
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.
Reply
#6
should be
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#7
kwyshell Wrote:I am going to try xbmc HTTPAPI to replace python script.
HTTPAPI seems to provide more control function than python api.

Actually, I have succeeded to play a smb://mpeg file over HTTPAPI.
I bought a external AMP for audio selection.
Now I just put my XBOX under this AMP. Wink

Not good but.... still workable ...
I can enjoy my Home Karakoe system without putting a PC in my living room.
Nod

I'm still can't find a way to change the audio stream of VOB files. Does any know a way around it from script?

kwyshell, I don't how the external AMP would help?
Reply

Logout Mark Read Team Forum Stats Members Help
Help Needed: How to select a audio channel from script (Karaoke script)0