News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu
Menu

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.

Show posts Menu

Topics - jeangot

#1
Users / Android Qorbiter crashing
February 14, 2012, 04:47:40 PM
Hello,

I have been trying the Android Qorbiter on a cheap tablet:
- I installed the application on the tablet (and it downloaded a bunch of extra libs)
- I created a new qorbiter orbiter in the web admin
- set default room, user and skin in the webadmin
- generated the orbiter config file on the core by running the PHP script
- downloaded the skins from svn to the core
- did a full regen of the orbiter, then a reset of the core
- edited the config XML file on the tablet to put my core IP (which is different from default) and device ID
- started the qorbiter on the tablet
- the qorbiter will show me the main screen of the orbiter with all the buttons.
- when I click on the power button or advanced button, a new popup menu comes up with the expected content

BUT when I click on any other button like Audio, Video or even Sleeping Menu, the Qorbiter application closes

Any idea what is wrong, or whether the Qorbiter writes any logs on the tablet that I could look at?

Thank you!

Jean

PS: My DCERouter.log shows this:

[long list of media files being generated for Datagrid]
05   02/14/12 7:45:05.262      list  : Youth in Revolt.avi date: 0 <0x7e1f3b70>
05   02/14/12 7:45:05.262      list  : Zodiac_2007.avi date: 0 <0x7e1f3b70>
08   02/14/12 7:45:05.278      Received Message from 271 (Master Bedroom Android Orbiter / Master Bedroom) to 6 (Datagrid Plug-in / Computer Closet), type 1 id 34 Command:Request Datagrid Contents, retry none, parameters: <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 10(ID): 2 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 15(DataGrid ID): MediaFile_271 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 32(Row): 0 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 33(Column): 0 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 34(Row count): 1823 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 35(Column count): 1 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 36(Keep Row Header): 0 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 37(Keep Column Header): 0 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 49(Add Up-Down Arrows): 1 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 73(Seek):  <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 74(Offset): 5 <0x11befb70>
05   02/14/12 7:45:05.337      Socket::ReceiveData 0x500a6bb0 failed, bytes left 0 start: 2390000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 356 Incoming_Conn Socket 356 192.168.78.231EVENT 271 T=2186 Event #271 <0xcbe5b70>
05   02/14/12 7:45:05.337      Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 356 192.168.78.231EVENT 271 T=2186 Event #271 <0xcbe5b70>
05   02/14/12 7:45:05.337      TCPIP: Closing connection to 271 (Router Dev #0) 0x500a6bb0 m_Socket: -1 <0xcbe5b70>
05   02/14/12 7:45:05.337      Router::RemoveAndDeleteSocket 0x500a6bb0 271 <0xcbe5b70>
05   02/14/12 7:45:05.337      Socket::ReceiveData 0x500a6ce8 failed, bytes left -1 start: 2450000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 357 Incoming_Conn Socket 357 192.168.78.231EVENT 271 T=2186 Event #271 <0x11befb70>
05   02/14/12 7:45:05.337      Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 357 192.168.78.231EVENT 271 T=2186 Event #271 <0x11befb70>
05   02/14/12 7:45:05.337      TCPIP: Closing connection to 271 (Router Dev #0) 0x500a6ce8 m_Socket: -1 <0x11befb70>
05   02/14/12 7:45:05.337      Router::RemoveAndDeleteSocket 0x500a6ce8 271 <0x11befb70>


The Device ID of the qorbiter is 271
#2
Users / lmce-autotagger ?
August 17, 2011, 05:19:52 AM
Hello,

I just updated my 0810 installation to the current version (apt-get update; apt-get upgrade), and one of the improvements I was looking for is the autotagger.
According to this page: http://wiki.linuxmce.org/index.php/LinuxMCE-0810_beta
There was a package lmce-autotagger created on May 30th.

However that package did not install during my update, and
apt-get update; apt-get install lmce-autotagger
says that this package doesn't exist.

What am I doing wrong, and if the autotagger does not come in a package, is the only way to install it compiling it from source?

Thank you!

Jean
#3
Users / Don't ring any phones during sleeping mode?
November 02, 2010, 04:28:02 PM
Hello,

I have the following problem:
a) In the admin, in phone lines / settings, I have configured most of my extensions (those in bedrooms anyway) not to ring when in sleeping mode
b) In the admin under telecom / call routing, I have configured for calls to go straight to voicemail when my users are in sleeping mode. I did the same for priority callers as a precaution, although I have no priority callers configured.

Now when I call the house, most of my extensions will not ring, as expected. After a few rings, the IVR kicks in. One of the prompts is "To call everybody in the house, press 0". When the caller presses 0, all extensions in the house start ringing, including those that were disabled in step a), so everybody wakes up.

How can I prevent Asterisk from ringing any more extensions after IVR/Press0 than it is ringing before the IVR? (or it could go straight to voicemail at that point, that would be fine too).

Jean

PS: I *think* this was working how I wanted when I was running 710, but I can't figure out how to change this behavior in 810. I'm probably just not looking in the right place...
#4
Users / Game Player and default games
September 20, 2010, 04:25:35 AM
Hello,

I just installed the Game Player on some of my MDs following the instructions in the wiki (after updating to latest 810 from repository).
According to the instructions, there should be some games installed by default. If the screenshot in the wiki is taken just after the default install, then there should be a lot of games included!

When I click on the Games button that now appears in my Orbiters, I see the following names listed in the orbiter grid:
- ARTWORK ghosttown
-  ARTWORK peacock
- COPY OF ARTWORK ghosttown
- COPY OF ARTWORK peacock
- SUBTITLES ghosttown
- SUBTITLES peacock
and that's it

Trying to play any of them results in an error.

Now I was wondering: how many games should be included by default, if any?
The package lmce-mame-metadata was nearly 1.5 Gb, and the DB lmce-games, table ROM contains thousands of files listed.

I just want to ascertain whether something went wrong during the install (and if so how do I fix it), or if this is the normal starting situation with no playable games included by default?

I am aware that additional ROMs should be loaded by me into the games folder. I have not done that yet by fear of breaking things further.

Thank you!

Jean
#5
Users / ReceiveData failed error
September 16, 2010, 05:30:09 PM
Hello,
since I installed 810 a few month ago, I have been trying to get my monitor to turn off automatically on one of my MDs. I have installed the DPMS_Monitor device, but nothing was happening.

When looking at the logs of the DPMS_Monitor device on my MD, it shows the device properly starting, but never receiving any commands.

I then tried to manually sending an "off" command to the device DPMS_Monitor, using the web admin. Here is what the DCERouter logs show when I do that:


08   09/16/10 8:27:16.738      Received Message from 0 (unknown / ) to 164 (DPMS Monitor / Master Bathroom), type 1 id 193 Command:Off, retry none, parameters: <0x467f1b70>
08   09/16/10 8:27:16.738        Parameter 97(PK_Pipe):  <0x467f1b70>
05   09/16/10 8:27:16.796      Socket::ReceiveData 0x824e03f8 failed, bytes left 0 start: 10030000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 149 Incoming_Conn Socket 149 127.0.0.1 <0x467f1b70>
05   09/16/10 8:27:16.796      Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 149 127.0.0.1 <0x467f1b70>
05   09/16/10 8:27:16.796      TCPIP: Closing connection to -1003 (Router Dev #0) 0x824e03f8 m_Socket: -1 <0x467f1b70>
05   09/16/10 8:27:16.796      Router::RemoveAndDeleteSocket 0x824e03f8 -1003 <0x467f1b70>

At the same time, the DPMS_Monitor device logs on the MD don't show anything, so the device has not received any commands.

I do not now how to further troubleshoot from here. Obviously the log is telling us that there is some problem, but I do not know what it means.

Any suggestions would be appreciated.

Thank you!

Jean
#6
Users / Sending multiple infrared commands
July 24, 2010, 05:32:16 AM
Hello,

I am creating a new device template for a Panasonic projector. In order to turn on (or off), this projector needs to receive 2 distinct infrared commands (with a small pause in between).
I was able to set this up in Ruby by sending a system command to the USB UIRT device with the first command, followed by a pause, followed by the second command, but this is very dirty since the ID of the USB UIRT device needs to be hard coded in the template.

Is there a way to do this cleanly by using the normal section for infrared codes in a device template? (Or any other suggestions)

Jean
#7
Installation issues / 0810 64 bit support
May 03, 2010, 10:42:57 PM
Hello,

I am currently running LMCE 0710 on a xen virtual machine. In order for PCI passthrough to work under xen, I need to run the VM as a PV, which means that I need to use 64 bits because my host is 64 bits.

Now my question: is there any way to install the current LMCE 0810 onto a 64 bit Kubuntu? What would happen for example if would install a brand new Kubuntu system with 64 bits, then install the LMCE packages onto it?
Alternatively, are there any plans to make a 64 bit version of LMCE 0810 available?

Thank you!

Jean
#8
Users / Bluetooth not detecting devices anymore
March 15, 2009, 07:30:46 PM
Hello,

I am using 2 MSI Media Live MD with internal bluetooth. In the past this was working right out of the box, my old cellphone was detected as soon as I installed the MDs, and it was added to the system as a device (however the cellphone wasn't supported so I could never use it as an Orbiter).
Now I have a new cellphone using Windows Mobile which I would like to add to the system. After putting the cellphone into discoverable mode and waiting and reloading and waiting and waiting some more, nothing happens.
I notice that may cellphone is able to see the 2 MDs via Bluetooth, so I know the Bluetooth radios are working, however LinuxMCE does not see to detect the phone.
I noticed under the Device Tree that both Bluetooth objects in both MDs have a checkmark in "disable" and Registered=no. When I remove the checkmark and reload the router, the 2 dongles will show as registered=yes for a few seconds after the reload, then the checkmark appears again in "disabled", and the status changes to "registered=no".

Does anyone know if my bluetooth devices under the device tree are supposed to be "registered" for this to work (I would assume so), and if so, any ideas as to why mine don't register anymore?

Thanks,

Jean

PS: just in case my new cellphone had a problem, I deleted the device for my old cellphone and the system won't rediscover that one either
#9
Users / 2 MDs in one room
February 19, 2009, 08:19:48 AM
Hello,

I asked this before but am still not able to get this to work. I have several situations where 2 MDs are in the same room. I am able to create 2 separate entertainment zones in the same room (from the room page in the web admin), I can also assign each MD to one of the 2 entertainment zones that I just created, but I can't assign them both to the same room. Whenever one MD is assigned to one room, it would let me assign another one to the same room (regardless of entertainment zones).
Any suggestions? (Besides creating 2 rooms for my 1 room)

Jean
#10
Hello,

as promissed I made a little perl script to import Shoutcast Streams for Playback in LMCE.

WARNING!
This is one big hack, and writes directly into your LMCE Database. It is poorly tested and poorly coded, hence will possibly mess up your system. If you are not prepared to mess up your system, don't try this. Please don't ask me how to fix your database if it's broken. You have been warned!

Features:
Import Shoutcast streams by shoutcast genre, with the ability to import multiple Shoutcast genres into one LMCE genre and removing duplicates within each shoutcast genre, keeping only the highest bitrate stream for each duplicate station. Also has the ability to add generic album and performer tags for better sorting of the Shoutcast streams in the LMCE Media file browser.

Other warning:
Shoutcast does not permit the continuous querying of a large number of playlist files and will quickly block your IP address if you do so.
You should try to limit yourself to a few interesting categories, limit the number of streams per category to something reasonable and don't run the script more than once per week

The perl script needs to run on the Core. It requires the following perl packages:

XML::DOM
LWP::Simple
Mysql
List::Util

To install them, run on your core:
perl -e shell -MCPAN
Then "install nameofpackage" using the package names above including the double colon.

At the beginning of the script are a few options, including the part where you customize the Genres you want to import.

Note that shoutcast seems to limit the number of queries you can do in a given time from your IP, so when you run the script, it will stop every once in a while (when shoutcast blocks you) and then resume. So if you see it stop, just wait for a while...

Enjoy!

Jean
#11
Hello,

I am currently playing all my recorded TV content from TV scenarios (Myth TV) as opposed to regular Video scenarios as these do not allow to jump through Myth's commercial flags to my knowledge.
My problem is that I always need to have a keyboard next to me to do these jumps (A and Z buttons I believe).

Now I would like to attempt to play with the HA Designer to try and add buttons for this in the MythTV Orbiter screens, so that I could get rid of my keyboard.

Now my question is: are there already commands in LMCE to send to MythTV Player to jump to the next commercial marker? If not, would it be easy for me to create such commands?
What I saw so far are commands to jump to certain positions in the stream, and I may be able to create buttons to jump forward and backward 30 secs and 10 mins (to replicate some commands available to me in MythTV via keyboard), but I didn't see any commands to get to the next MythTV commerical maker.

Thank you for any help or pointers.

Jean
#12
Hello,

I have a Buffalo Terrastation mounted in LMCE, and accessible at /mnt/devices/67 on the core.

Since a few weeks, after a couple of days LMCE can no longer access any files on that share

cd /mnt/devices/67
done on the core will just hang for hours (until I press control c)

Yet my Terrastation is still accessible from windows computers in the same network, so it is not frozen.
Reboot of terrastation alone does not help, I have to reboot the terrastation and then reboot my core for it to work again, and it only works for a few days again, yet it was working for months without a problem.

So I am wondering how these shares are mounted and unmounted in LMCE, as I can find nothing in fstab, and even the output of "mount" does not reveal anything usefull.

Once I know how to unmount and remount this share without rebooting LMCE, I could hopefully troubleshoot some more, maybe find pertinent logs and search for similar issues in Google.

I tried to disable the share in the pluto-admin, then reload, then enable, then reload, but that did not temporarily fix the issue.

Thank you!

Jean
#13
Users / How to send multiple IR codes for one command
January 03, 2009, 02:27:24 AM
Hello,

I am trying to control a Panasonic Projector which lacks discrete IR commands for ON/OFF.
I need to send the following keypresses:
For ON: Power then Return
For OFF: Power then Power

I guess this is called a "macro" in regular universal remote language.

In LMCE, I am asked to define one single IR code for the command ON and a single IR code for the command OFF. How can I send several IR codes for ON and OFF? I tried entering multiple IR codes where I define the code for ON and OFF, but that did not work. If I would create a new command called Return, would I be able somehow to create 2 new On and Off Commands that "play" several commands one after another?

Thank you for any help or pointers.

Jean
#14
Users / Event criteria for daytime or nighttime
November 11, 2008, 07:37:07 AM
Hello,

to work with lights and motion detectors outside my home, I am trying to setup Events where part of the criteria is based in whether it's night or not.
I can't use the preconfigured "Sunset" or "Sunrise" events since it involves additional criterias.

Some threads seem to recommend using "Time Of Day = Night" or "Time of Day = Daytime", but neither of these seem to work, whether I write them with a capital letter or not.

Does anyone have a definite answer as to whether thsi is supported or not, or am I stuck working with fixed times instead of a Sunset time which fluctuates around 3 or 4 hours throughout the year.

Thanks.

Jean


#15
Hello,

I'm trying to do something fairly simple, which is to use my X10 motion detectors outside to turn on a light nearby for a few minutes each time there is movement, then turn the light off. I wasn't able to find out specific hints about this in the wiki or forums, which probably only means that I didn't search properly :-)

I have my motion detector configured according to very handy infos from the wiki, and it's properly firing movement alarms. Next I created an event to turn on my light each time there is movement at this particular detector, which works fine as well.

The problem now is: how do I turn the light off? I did set the movement alarm's duration via the web admin to a few seconds (for test), but nothing happens after the alarm is over. I created an event to turn the light off on "security breach reset" but that doesnt work either (and even if it did, that's probably the wrong way since I want to have several of these motion detectors all around the house and don't an alarm reset to turn off all the lights in the house).

So can anyone hint at the proper way to either turn on a light for a set amount of time, or turn off the light a certain time after the movement event?

Thanks.

Jean
#16
Hello,

according to some other posts in the forum, there is a bug in certain Nvidia Ethernet chipsets which cause the Mac address to be stored in reverse. This seems to be the case for example in my MSI Media Live. Consequently, wake on lan only works if you you send the reversed MAC address, otherwise the computer ignores it and does not turn on. Consequently, in my 0710, WOL does not work for the MSI Media Live.

I was wondering if anyone figured out an easy fix for this? I assume it's not as simple as changing the Mac address in the Media Director settings in the web admin, as LMCE would not longer recognize the device properly while it's turned on.

One solution could be to edit the code, and whenever LMCE send a wake on lan packet, have it also send the same packet with reversed MAC address, as I don't think could cause much harm in the 95% of cases where it's useless. I'll be happy to do that if someone could point out where the code for WOL is located (in which binary). Unless there is some other easier solution?

Thank you.

Jean
#17
Hello,

I read from several people in the forums that they only use an orbiter to control their TV (don't use a remote) and find it very comfortable. While I agree agree in part (I use a Fujitsu C500 tablet with 8'' screen) I have the following problem:
I do not seem to find any buttons on the Orbiter while watching MythTV to skip forward or backward, like right and left arrow on the keyboard (different from fast forwarding) nor to skip commercials (A and Z buttons on the keyboard).
The reason I need this is because commflaging doesn't always detect commercials, so I sometimes have to skip commercials manually (and cannot have Myth in auto skip commercials mode).

Does anyone have a suggestion for this, besides keeping a keyboard near my living room sofa (which is what I do now)?
I know that there will be changes to the MythTV Orbiter interface in 0810, are these buttons going to be added by any chance?

Thanks.

Jean
#18
Hello,

I have an outdoor lights setup as X10 light, and I noticed that it seems to be automagically turning on at sunset and off at sunrise. I did not however ask for this, and did not find any relevant options under the light's configuration or under timed events.
In case it matter, this light is linked to a camera (and will properly turn on or off when that camera is viewed).

Does anyone know where I can enable/disable such behavior, as I can't have all my outdoor lights on all night, or is it just a matter of not setting up that "room" as an outdoor area perhaps?

Thanks,

Jean
#19
Developers / Problem with some root http path names
September 03, 2008, 06:18:07 PM
Hello,

I have the following item in my pluto_media table:

+---------+--------------+-----------------+---------------+--------------+---------------------+------------------------------------------------------------------------------------------------------------+---------------------+---------+-------------+------------------+-----------+---------------------+-----------+---------------------+---------------------+-------+--------+----------+----------------------------------+--------+--------+-----------+----------+------------+---------------------+--------------+
| PK_File | EK_MediaType | FK_MediaSubType | FK_FileFormat | FK_FileGroup | DateAdded           | Path                                                                                                       | Filename            | Missing | IsDirectory | EK_Users_Private | EK_Device | ModificationDate    | AttrCount | AttrDate            | DateLastViewed      | IsNew | Ignore | INode    | MD5                              | Source | psc_id | psc_batch | psc_user | psc_frozen | psc_mod             | psc_restrict |
+---------+--------------+-----------------+---------------+--------------+---------------------+------------------------------------------------------------------------------------------------------------+---------------------+---------+-------------+------------------+-----------+---------------------+-----------+---------------------+---------------------+-------+--------+----------+----------------------------------+--------+--------+-----------+----------+------------+---------------------+--------------+
|  557190 |            4 |            NULL |          NULL |         NULL | 2008-08-28 08:08:56 | http:                                                                                                      | 89.149.208.205:7070 |       0 |           0 |             NULL |      NULL | NULL                |      NULL | NULL                | 2008-08-28 08:12:39 |     1 |      0 |        0 | NULL                             | NULL   |   NULL |      NULL |     NULL |          0 | 2008-08-28 08:12:39 |         NULL |

This is for a valid shoutcast stream. The entry was created for me by the system when I tested this stream in a media scenario through the web admin.
When I try to playback this entry, the logic in LMCE build the full pathname as Path + "/" + Filename which gives http:/89.149.208.205:7070 and that of course won't play.
If I change the Path field in the database to http:/, then LMCE will correctly construct the full path as http://89.149.208.205:7070 and it will play fine, but my entry in the database doesn't last past a reload, probably because something is checking the format of the fields and cleaning them up.

So my thought was to find the place in the code where it concatenates those fields upon playback, and add a condition to have that extra / added for http: or mms: Path that don't go deeper than the root of the webserver.
The only place I found where I could maybe do this was Table_File.cpp, but I know this is not the right place because this is just used to retrieve the data from the database, but the concatenation happens somewhere else, I just couldn't find where.

So my questions are:

- Can anyone point me to the place in the code where upon playback of a media entry, the system concatenates the fields Path and Filename after fetching them?

- Or can someone tell me why my Table_File.cpp won't compile? I get the following error (which I think is unrelated to the changes I made):

/usr/bin/ld: ../db_wrapper/ClientSocket.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
../db_wrapper/ClientSocket.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libpluto_media.so] Error 1


Once I have this working and tested, I would like to propose to include the change into the source code, unless someone things this would be wrong?

Thanks,

Jean
#20
Hello,

I have the following issue: I have an entry for an asf stream in my Media Database that looks like this:

+---------+--------------+-----------------+---------------+--------------+---------------------+------------------------------+-------------------+---------+-------------+------------------+-----------+------------------+-----------+----------+---------------------+-------+--------+-------+------+--------+--------+-----------+----------+------------+---------------------+--------------+
| PK_File | EK_MediaType | FK_MediaSubType | FK_FileFormat | FK_FileGroup | DateAdded           | Path                         | Filename          | Missing | IsDirectory | EK_Users_Private | EK_Device | ModificationDate | AttrCount | AttrDate | DateLastViewed      | IsNew | Ignore | INode | MD5  | Source | psc_id | psc_batch | psc_user | psc_frozen | psc_mod             | psc_restrict |
+---------+--------------+-----------------+---------------+--------------+---------------------+------------------------------+-------------------+---------+-------------+------------------+-----------+------------------+-----------+----------+---------------------+-------+--------+-------+------+--------+--------+-----------+----------+------------+---------------------+--------------+
|  557078 |            5 |            NULL |          NULL |         NULL | 2008-08-24 10:00:57 | mms://vodstream.tf1.fr/tf1jt | jt13d24082008.asf |       0 |           0 |             NULL |      NULL | NULL             |      NULL | NULL     | 2008-08-24 10:00:58 |     0 |      0 |     0 | NULL | NULL   |   NULL |      NULL |     NULL |          0 | 2008-08-24 10:32:49 |         NULL |
+---------+--------------+-----------------+---------------+--------------+---------------------+------------------------------+-------------------+---------+-------------+------------------+-----------+------------------+-----------+----------+---------------------+-------+--------+-------+------+--------+--------+-----------+----------+------------+---------------------+--------------+

It is playable through Media/Videos without a problem (please note, if you try this after 1 day, the filename needs to be updated with the current day otherwise it won't play).

Now I create a playlist containing this entry. I save the playlist, and when I go back to in in the web GUI, the entry is there in the playlist. Now I do a reload router, to refresh the playlist on my MDs, and the entry gets deleted. The playlist is now empty.

I suspect that there is a process parsing playlists for errors upon reload router that is causing this. Could anyone point me to the portion of code that is doing this? Perhaps I just need to add something to recognize asf files?
Or am I on the wrong track?

Thank you!

Jean