View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 22 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Wed Oct 17, 2007 10:06 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
finger51 wrote:
Is there a way to force it via mysql?


WARNING: OPERATING ON YOUR MYSQL TABLES COULD HOSE YOUR SYSTEM. BACK UP YOUR DB BEFORE PERFORMING ANY MANUAL EDITING

I only know how to directly edit mysql table thru webmin. The table you want to edit is "settings." Log into webmin and go to SERVERS > MYSQL > MYTHCONVERG > EXECUTE SQL BUTTON. Enter this command:

Code:
UPDATE settings SET data = 'ALSA:hw:0,1' WHERE value = 'AudioOutputDevice' and hostname = '[Insert Your Hostname Here]';


I also notice in my db that there is a setting for 'MusicAudioDevice'. On my box it is set to 'default' and music works fine. You may try to set that value as well.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 18, 2007 11:34 pm 
Offline
Joined: Tue Mar 22, 2005 11:56 am
Posts: 110
Location: San Francisco
Hi MH~

I gave it a try- webmin returns
Code:
Table Data    
Table settings in database mythconverg
Search results for AudioOutputDevice in field value ..
value                                  data   
AudioOutputDevice               ALSA:hw:0,1

then
Code:
Data in this table cannot be edited because it has no primary key.


But I still get the same message from mythfrontend regarding hw:0,2- and no audio playback

'appears I need to do some rituals at the google altar. . I really appreciate the help. thanks again

_________________
R5F27 | M2NPV-VM | 4600+ 65W AM2X2 | CORSAIR TWIN2X1024A-6400 | 2x HD-5000 |
DVI to HP LC3700N


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 19, 2007 1:36 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
finger51 wrote:
Code:
Table Data    
Table settings in database mythconverg
Search results for AudioOutputDevice in field value ..
value                                  data   
AudioOutputDevice               ALSA:hw:0,1

Ok, so it already appears to be set.
finger51 wrote:
then
Code:
Data in this table cannot be edited because it has no primary key.


But I still get the same message from mythfrontend regarding hw:0,2- and no audio playback

I'm a little confused... Did you find the "EXECUTE SQL" button and execute the command from my last post?
finger51 wrote:
Data in this table cannot be edited because it has no primary key.
should not be anywhere in sight if you were on the "EXECUTE SQL" page. My only other pointers would be to look over these two web pages:

http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound
and
http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF

Maybe do a search on your audio chipset as well... Good luck and let us know if you get to the bottom of the problem.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 19, 2007 3:48 pm 
Offline
Joined: Tue Mar 22, 2005 11:56 am
Posts: 110
Location: San Francisco
mihanson wrote:
I'm a little confused... Did you find the "EXECUTE SQL" button and execute the command from my last post?


yup- found it, pasted the command into the field and mysql seemed to accept it since the search for that value showed up with the corrected hw:0,1. restarted mysql, even rebooted the machine. The value in myth\general settings is the ALSA:hw:0,1 but everytime I try mythmusic, mythfrontend complains about the snd_pcm_hw:0,2 not found message.

everytime I'm searching field values I see that message about the primary key. google only returns 6 threads with that string. weird.

well this weekend is the first I've had in a while to throw some time at it. I will post results of testing. thanks again!
~F

_________________
R5F27 | M2NPV-VM | 4600+ 65W AM2X2 | CORSAIR TWIN2X1024A-6400 | 2x HD-5000 |
DVI to HP LC3700N


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 19, 2007 9:33 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I have posted the details of how to update stuff in the settings table multiple times including a couple utility scripts for particular settings. A search requiring all of "settings", "update", and "mysql" with me as the author should find plenty of examples.

You can also do this using the settings page of MythWeb at: http://YOUR_HOST_OR_IP_HERE/mythweb/settings/settings


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 20, 2007 12:24 pm 
Offline
Joined: Tue Mar 22, 2005 11:56 am
Posts: 110
Location: San Francisco
tjc wrote:
I have posted the details of how to update stuff in the settings table multiple times including a couple utility scripts for particular settings. A search requiring all of "settings", "update", and "mysql" with me as the author should find plenty of examples.

You can also do this using the settings page of MythWeb at: http://YOUR_HOST_OR_IP_HERE/mythweb/settings/settings


wow. that was exactly what the dr. ordered. I must say I did a search on quite a few things, but that particular combination honestly did not cross my mind.
So the first problem was that I was searching for 'snd_pcm_output' gleaned from mythfrontend (which returned nada). The second problem was that I was repeatedly adjusting AudioOutputDevice where I should have been adjusting 'MusicAudioDevice' -- that one sailed over my head even though mihanson suggested I give it a shot.

Well thanks again folks. I appreciate the hints/leads as usual.

_________________
R5F27 | M2NPV-VM | 4600+ 65W AM2X2 | CORSAIR TWIN2X1024A-6400 | 2x HD-5000 |
DVI to HP LC3700N


Top
 Profile  
 
PostPosted: Mon Nov 05, 2007 11:54 pm 
Offline
Joined: Fri Mar 18, 2005 11:25 pm
Posts: 10
I have an EPIA M10000, my aplay -l shows the following:
**** List of PLAYBACK Hardware Devices ****
card 0: V8235 [VIA 8235], device 0: VIA 8235 [VIA 8235]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 0: V8235 [VIA 8235], device 1: VIA 8235 [VIA 8235]
Subdevices: 1/1
Subdevice #0: subdevice #0

I put "ALSA:hw:0,0" as my device and ALSA:iec958:{ AESO 0x02 } as my passthrough. I now get audio for both my PVR recording and my dvb.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu