Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - phenigma

Pages: 1 ... 61 62 [63] 64 65 ... 111
It creates a new php script. Attach the created script to a message, and maybe golgoj4 can use it to recreate the script on his machine.

Merk had altered the script to output serialized data rather than a .php script.  It can be imported with the same interface.  I had been altering it at one point as well but do not recall the state it was left in.  I had been quite successfully moving DTs around through many installs.  I know enough php now that I can make it much more user friendly if there is a demand for it.


Feature requests & roadmap / Re: Status / overview page?
« on: March 07, 2013, 05:51:25 am »
City/Town information is stored in lmce and can be pulled from the database for use in scripts.


Users / Re: New audio scheme, and upgrades (Updated)
« on: March 07, 2013, 05:45:31 am »
The problem I experience though is with the multi-channel aac... even after altering /etc/pluto/xine.conf and I can still only get 2 channel audio and no center so no voices...

I have the same issue.  I had everything working under 0810 with no problems.  But under 1004 I get no center channel, it's like it has been removed from the mix.  If you find a solution please report back.


Installation issues / Re: Multiple sound cards, selected at random?
« on: March 07, 2013, 05:43:30 am »
S/PDIF optical vs coax?  It is my understanding that there is no difference with short cable runs.  That and when using a jumper, there is no need to run the VCC line.

S/PDIF vs coax.  This is an ongoing debate.  I find optical cables to be inexpensive and easy to run.  Coax can be a pain if you do not have a crimper and RCA ends to crimp on.  Adapters are usually extremely over priced.  I have used both, I hear no difference.

Digital vs. stereo?  Using a single 3.5mm jack is it possible to send a 5.1/7.1/10.2 signal?  Typically when I hear "stereo" I think analog left/right.  Multi-channel audio uses L/R, SL/SR, and C/Sw which again supports thinking that jack can only send analog 2 channel? 

A single jack can support only 2 channels.  See my earlier post re: multichannel.

Techie/Audiophile question:  If my assumptions about these signals is incorrect, how does S/PDIF Coax carry a raw digital signal over just 2 wires? 

Digital is completely different than analog, rather than a varying voltage/current it is a binary voltage switching consisting of 1s and 0s only.  These bits can be multiplexed together using time division multiplexing.  For example the devices would both conform to a standard method of transmitting/receiving.  A byte of data would be sent for CH1, then a byte for CH2, then CH3... to CH8.  8 bytes have been transmitted and the cycle restarts at CH1.  If additional channels (3-8 or 7-8) do not exist, then blank entries would be transmitted to be consistent.  This is a simplification but essentially how it works.

For my next MD area I am looking to really focus on audio reproduction, so am hoping to learn some and get some recommendations.  Outside of the SB fatality series I wouldn't know where to begin looking.

avrfreaks? perhaps for audio card recommendations.  I used to use high-end turtle beach cards, I don't think they exist anymore.


Installation issues / Re: Multiple sound cards, selected at random?
« on: March 07, 2013, 05:33:53 am »
Prior to doing any changes today I did a lot of reading so I could get familiar with the terminology.  Mutliple channel audio I understand now as my receiver has inputs for that called conveniently "multi channel."

Multi-channel really refers to any card that can output more than a single mono signal.  This includes stereo as well but often refers to anything that has more than 2 channels.  4/5.1(really 6)/7.1(really 8)

For LMCE any device that has 2 (or more) audio channels *could* be defined with a special "multichannel sound card" device template.  I say *could* because you do not have to define any of these devices, they are usually used to house child devices that are "stereo virtual sound card"s.  This allows us to split card that has 4/6/8 and split it into multiple stereo outputs, each with their own name, very useful for adding squeezeslave devices without adding additional hardware.  Example:  I have a motherboard in an onboard 7.1 analog audio (4x1/8" TRS connectors) and an hdmi output.  I use the hdmi output for the LMCE output and have 4 stereo squeezeslaves setup on my analog onboard sound card.  Each 1/8" jack is now a stereo pair that a squeezeslave outputs on.  I get 4xaudio zones without adding any additional hardware.

 It also allows you to do funky things like combine the output of 4 different channels down to 2.  The key thing to remember here is that you never *need* to define one of these devices unless you wish


Installation issues / Re: 1004 - QNAP NAS - AXIS CAMERA - ATOM n330i
« on: March 04, 2013, 11:43:04 pm »
5. Finally if anybody can suggest how to make 810 find my QNAP as I changed it to DHCP as recommended and plugged it back into my 810 network and LMCE has yet to find it after 2 days

Check in webadmin->Advanced->Configuration->Unknown Devices.  If you see the MAC address of the QNAP in that list then it will be ignored.  You can 'Unlock' it and then force a dhcp request on the qnap.


Users / Re: Asterisk AST_CONFIG - lost entries
« on: March 03, 2013, 09:34:08 pm »
Thank you!.


Users / Re: mediatomb
« on: March 03, 2013, 09:33:34 pm »

I've never used mediatomb, it looks like you have defined only certain mime types, it may be ignoring files that it doesn't know what to do with, like .mkv files that are not defined.  I'd do some searching on google for mediatomb and see what you can find.  And open a trac ticket with all the information that you do have, update if you find more.


I'm glad to hear it is working for you!


Users / Re: Asterisk AST_CONFIG - lost entries
« on: March 02, 2013, 07:12:49 pm »
Please file a feature_request in trac at  That way it can be tracked by the devs and others can see it.



Users / Re: Sources list?
« on: March 02, 2013, 07:10:10 pm »
deb 20dev_ubuntu  main

This line is erroneously added by ConfirmDependencies and will give errors during apt-get update.  It is safe to remove this line from your sources.list.


Users / Re: mediatomb
« on: March 02, 2013, 07:05:22 pm »
Something has been changed with mediatomb. On ubuntu community document it shows that mediatomb needs user log in , in order to work stable.
I have mediatomb found by my tv (samsung) and also playing audio and video contents.

For that you have to edit its config.xml  file for it. I forgot its path on our system, believe its /etc/pluto/mediatomb/ (dont quote me on that) in that xml file you will have to add mame types for your content. I will post my config.xml when I fire up my core.

It would be great if you could file a bug in trac at and attach your .xml file to it.  That way it can be checked and tracked.

however my problem is, mediatomb does not seem to scan all the media. It does not update its database even though scanned manually.
and the video does not play with its proper display, In other words quality of video looks crap on my MD.

First question, why are you using mediatomb to play media on your MD?
Second question, can you be more specific about the locations of media that are/are not showing in mediatomb?  Are they private user_? data or public?  LMCE data structure or public?
Could you file a bug in svn about this issue as well.  Include as much detail as you can.

Filing bugs in svn is the only way devs have to track the issues that people are having and attemp to fix them.  If they are not filed in trac they may not be addressed.

Thanks for the info!


Users / Re: Asterisk CDR registering error.
« on: March 02, 2013, 06:18:46 pm »
Your welcome.  Glad it's back up and working!


Users / Re: Media list (grid) scroll/page down button on IR remote
« on: March 01, 2013, 10:12:46 pm »
Thanks J, agreed on just about all counts there.
Unfortunately my remote layout is also set to 'W'. In fact, for fear my template was the problem, I compared my template with the MCE Remote template side-by-side and the only difference was that the MCE Remote template had a "controlled by category" set to media director. So I set mine to the same, reboot etc but no change.

Damn.  I don't suppose you have an MCE remote to test with?   ::)

I'm pretty stymied.
All I can think of is hacking into the USBUIRT code at that section I posted - where it takes the decision about the command and outputting everything that is going on to a custom (or normal) log and then compiling that and running it on my system. Prob is, I haven't the faintest idea how to do that... actually, I do... I think I need to set up a development system or something. Somewhere in the wiki about it. I'll read up. Probably about time I contributed, eh? Necessity is a mother.

I am almost 100% that this is a config issue, the code is working, feel free to keep poking around though!  I want to check your database.  sqlCVS update everything.  Then sqlCVS diff the RemoteMapping table (under designer).  Does anything show as NEW or MOD?  Or does it say 'No changes'?
Guess that's it ^^

More and less, the 0810 instructions are the most recent but not entirely easy to follow what is going on there and some of it is not proper for 1004.   :P


Users / Re: Media list (grid) scroll/page down button on IR remote
« on: March 01, 2013, 08:53:56 pm »
You say this works for everyone (except me) - can we confirm that? Is scroll down working for you from an IR remote? Anyone else? If so, then it would certainly suggest there's something odd about my particular setup. It doesn't rule out a bug that is only exposed by my setup but the likelihood is more that my setup is the problem. I will certainly have another look at my remote template... perhaps compare it to the MCE remote template to see if there are any glaring differences other than the obvious (IR CODES!).

Yes it is working on all systems.  There is only one known bug where sometimes the SetScreenType command is not sent at all, this is not an issue on your system though.

Thanks again for your help and interest in this. I hope I'm not wasting everyone's time here with a silly mistake on my side but that's why I'm posting detail about structures and things I discover when I can in the hope that those parts of it may be useful to someone chasing down related problems in future.

I want to figure out what the heck is going one here too!   :'(

having a look at the uirt code, there is a method:
Checked at home and confirmed that when I open the music or video list, the onscreen orbiter sends the message to the UIRT to say "Set screen type" but the UIRT log shows nothing. So either my assumption is wrong above that it should be logging something when this happens or there is a problem somewhere and that command is not received by the UIRT. The UIRT log is recording other things, like the unknown IR codes it receives... just not this.

This all looks good.  The log event may not show depending on log levels, log levels are reduced to avoid filling your HD.  :)

More code exploration... in the guts of IRReceiverBase.cpp - I found the method that appears to deal with received codes and even the section that seems to implement the "remote mapping hierarchy"-
And I think that what is happening here is that the pMapKeysToMessages structure at this point first line is trying to find a match for this particular command for a specific RemoteLayout, CurrentScreen. Then, if that fails, it tries to find one for a RemoteLayout and any screen. Then, if *that* fails, it tries to find one for any RemoteLayout and a specific screen and if that fails it tries to just find a command match.

Yep.  Looks good here.

The assumption, of course, is that at this point the cRemoteLayout and m_cCurrentScreen variables are appropriately set. Who knows if that is the case or not. Presumably m_CurrentScreen is correctly set as per the CMD_Set_Screen_Type below but... who knows? Esp since that one isn't logged.
The cRemoteLayout var is set in this method but is set to a value in the m_mapRemoteLayout[] structure matched to the primary key of the remote. And I don't know where that structure is populated.

I am assuming (and fairly safely I believe) that the currentscreen is properly set.  I am wondering about the RemoteLayout for your template.  I am speculating here that perhaps the first is failing and that the second is matching causing the third to not get hit, which would prevent the proper codes from being sent.  This is my current working theory.  :)

Tshak mentioned earlier that the remotelayout is not used. If that is the case, then this would be an empty structure and presumably cRemoteLayout a null or something that would fail for the first and second itMessage assignments and drop through to the third.

I realize that tschak says that the remotelayout is not used (and he usually knows best), but it is being utilized in the function calls and *could* be causing an issue.  The mapping is then checked against the values in the RemoteMapping table which would set the appropriate command for your chup/chdn buttons to Simulate Keypress.  Everything here looks good.  I'm wondering about the RemoteLayout and if that isn't where this is falling apart, even though it is 'not used'.  I'm not at a system I can trace that through on right now though.  Will trace that a bit when I get home.  My mce remote has the remotelayout set to 'W', what is yours set for?


Pages: 1 ... 61 62 [63] 64 65 ... 111