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 - colinjones

Pages: [1] 2 3 ... 201
Users / Re: Android Orbiter
« on: March 03, 2010, 09:13:31 pm »
Darren - I have a Google Nexus One now, so if you need a tester, let me know! (still on 0710 tho, btw!)

Users / Re: Multi-core processor usage
« on: February 09, 2010, 09:06:50 pm »
By HA I assume you mean High Availability rather than Home Automation?

Currently, the software does not support that. However, the entire architecture is based on the DCE messaging "bus", where all components ("DCE devices") communicate with each other using TCP sockets irrespective of whether they are on the same box or not. So theoretically you could extend the system to spread the functions over as many boxes as you want.

Blockages as I see them: the code would need to be updated not to assume that all the core services are at; the "plugins" by definition are part of the DCERouter code space and so cannot be separated; this would really only provide load sharing rather than true HA/redundancy, extending to have multiple instances of the same "device" with failover would be a big undertaking; not every feature of LMCE is implemented inside a DCE device (eg the SQL server) and so other approaches would be needed for that; clustering of some kind would be needed to prevent the core being a single point of failure for routing between the internal and external networks.

But realistically, I'm thinking that this work has not already been considered because need for such HA in typical implementations is very low compared with the effort involved....

Users / Re: Multi-core processor usage
« on: February 09, 2010, 08:42:44 am »

Now lmce doesnt take advantage of multicore based system meaning theading to one processor then the next etc....

just because an application runs on a multicore or the os is a multicore system, the application in question must know how to use and take full advantage of that feature...

Mandingo - could you explain in more detail what you mean by this?

I can confirm for certain that many of LMCE's key subsystems are multi-threaded (MySQL, Myth, DCERouter, Asterisk, AppServer, HAL, Disk_Drive, OrbiterGL, Xine, MPlayer, etc), and all do get different thread instances within the same process assigned to different cores. And processor affinity is low, so there is nothing stopping a thread from moving from one processor core to another over its lifetime.

So whilst its true, LMCE doesn't necessarily know that it is on a multi core system, that isn't really relevant - the OS assigns the processes and threads between the cores, so by definition LMCE does take advantage of multicore systems!

Try running:

ps -eLF

And look at the number of threads each process has, and which core each is executing on....

Developers / Re: Newbie in device programming
« on: February 07, 2010, 08:56:02 pm »
Not 100% clear on what you are trying to do, but I don't think it needs to be as complicated as that. You may just be able to register for an event.

Users / Re: Multi-core processor usage
« on: February 02, 2010, 09:18:03 pm »
moreover, 32bit and 64bit have nothing whatsoever to do with the number of cores and whether they will get used or not. as jimbodude said....

Users / Re: hope for blu-ray afterall..
« on: January 09, 2010, 11:03:25 pm »
the progress seems a bit spotty, and the libbluray project seems to have moved tracs but can't see where. it seems clear that the really hard work is going to be getting the JVM working to provide the menus, almost nothing at all has been done on that yet, but the decryption side seems pretty close, so exciting nonetheless!

Installation issues / Re: Prexisting media (Pictures, Movies) on NAS
« on: January 03, 2010, 12:12:42 am »
look in the device tree for that share, in its device data there is an "Online" tick box, is it ticked? The other thing you can do is run a manual sync on that folder and carefully go through the log file that pops up. Looking particularly for messages not related to specific media files, especially around the beginning and end...

Installation issues / Re: Prexisting media (Pictures, Movies) on NAS
« on: January 02, 2010, 11:35:35 pm »
I can't really explain it. Are you saying that on the MD if you go to pictures, and set the sort mode to Filename, you see picture files and directories that you can navigate and display. But in the same folder on the web admin, there is nothing as per your screenshot?

I would check that the mounts and symlinks are correct - use a terminal to the Linux shell, then cd into the same folder and look around, eg

cd /home/public/data/pictures/Windows share-blahblah
ls -al
inside that directory there should be the same items as you see on the MD in Filename sort mode.

Installation issues / Re: Prexisting media (Pictures, Movies) on NAS
« on: January 01, 2010, 04:02:12 am »
why did you switch to the /mnt folder, click on the link below there that says Switch to /home/public/data, you should never need to go to /mnt. Under the other one you will find your media, navigate using the left pane, then to look at the properties of a file or folder, click on it in the right pane.

Dunno what you've done to get multiple copies, I haven't see that issue for a long time and can't remember any specific causes. But it sounds like you have screwed up your library database in the process of messing around with the shares. Worst case, you may have to reinstall. Or possibly search these forums for the thread on dropping your database, and starting with a fresh one... probably search for terms like mysql and drop

Installation issues / Re: Prexisting media (Pictures, Movies) on NAS
« on: December 31, 2009, 06:06:37 am »
First you need to delete the file server device (and its child share device below it) from the web admin using the device tree. Do this with your NAS turned off.

Its a bit of a black art, getting re-detection going. You should check the Ignored devices list in the web admin, and remove any entries that relate to your NAS. You may even need to clear your pnpqueue MySQL table, but try that last.

Now do a reload of the router, or better yet reboot. Once all up, turn the NAS back on and cross your fingers! It relies on DHCP mostly for detection, so as soon as the NAS requests an IP address, LMCE should detect it as a "new" device and go through the same process. It might be worthwhile removing any associated DHCP lease from the /etc/dhcp3/dhcpd.conf file as well.

Only tell it to use one share, remove all the other shares from the NAS's management interface, and ensure there is write access to (no username or password) for the share you are picking. Once you have said yes to LMCE's question, it should very quickly create the folder structure. Wait for that to complete.... if it doesn't, there is a problem you need to troubleshoot before proceeding, if it does, then start moving your media into the right folders.

Again, if there is a lot of media, it will take some time before it starts appearing in LMCE.

Installation issues / Re: 710 Software Raid & Playing .M2TS Files
« on: December 31, 2009, 05:55:49 am »
There are too many fundamental differences between 0710 and 0810, so unfortunately there is no upgrade path. On the upside, any metadata you have set for your media is stored either in an ID3 tag file, or in an embedded ID3 tag, so that once you rebuild, LMCE will scan all that information back into the library once you have built 0810.

Installation issues / Re: 710 Software Raid & Playing .M2TS Files
« on: December 30, 2009, 09:29:14 pm »
on the m2ts files, it is highly likely they are X264/H264 video codec with a significant bit rate. These are very heavy duty codecs, and given that there is NO video decode acceleration in 0710 (doesn't matter which GPU you have, the old video driver from nVidia provides no access to that function) you would need some pretty heavy duty CPU-iron to get this smooth. In 0810 (which you should really be using anyway as 0710 is end of line, and no longer supported) there is an experimental VDPAU option you can set up - VDPAU is the new nVidia driver that provide access to the video decode hardware on Linux systems. But only if you have an 8xxx or 9xxx series GPU. This would also solve any deinterlacing requirements you had. BTW, you can turn on various forms of software deinterlacing in 0710 in the web admin, however that will suck up even more CPU.

Installation issues / Re: Prexisting media (Pictures, Movies) on NAS
« on: December 30, 2009, 09:18:00 pm »
OK, when you told it to use the share it had auto detected, it then prompted you whether to use "the LMCE folder structure" - yes? And you said 'yes'?

If so, then LMCE must have write access to the NAS, and it will create the correct folder structure under that share, and will then expect to find the media in the appropriate folders. If it doesn't have write access it can't create the folders and thus will never find any media (in this mode the intent is that it will ignore all media outside those folders.... and yes, using this mode, rather than the "Public" alternative is far superior)

If it did have write access, and created the folder structure, but you didn't relocate your media into the folders yet, then again, this is why you see no media, and you should start moving the media into the appropriate folders.

Ideally, you should only have one share on the NAS, and it be writable, prior to allowing LMCE to detect it. Allow it to create one set of the folder structure under that share, then relocate your media into those folders, and sit back whilst it is added to the library (this can take a while if you have a lot of media)

But either way, we can fix up whatever state you are in if you can just describe what has been done and created based on what I described above....

Users / Re: Finally, Z Wave in Australia
« on: December 30, 2009, 09:10:03 pm »
dpd - can you confirm, to get this working with LMCE, all we need is the USB stick, and then any number of actual ZWave devices like appliance switches or dimmers? Have you guys actually tested it with LMCE?

Installation issues / Re: DVD CSS
« on: December 30, 2009, 05:05:10 am »
Bruce - there will be no further work on 0710, it is end of line, all development is on 0810.

BTW, 0710 can already play most DVDs just fine. There will always be a few that have extra encryption that libdvdcss2 can't handle, but these are relatively few. If you are having this problem with all/most of your DVDs then it is probably something else.

Pages: [1] 2 3 ... 201