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.


Topics - freymann

Pages: [1] 2 3
1
Users / Some weird X10 results today
« on: January 27, 2009, 03:23:36 am »
I have a few lights that I want to be able to control through LMCE orbiters, and they don't respond. Those same lights respond fine to hand held remotes over the wireless X10 transceivers.

I figured this was due to the two phases of our house power, so I purchased a phase coupler and had our electrician wire it to the panel for me. That didn't appear to work, so I purchased another phase coupler, which I was able to change out myself, and at first I didn't think it worked either.

Today, I fired up my MSI Wind PC and connected it to the equipment in our master bedroom (where it will eventually end up) and played with XBMC off a USB stick, and then back into LMCE. In either system I can't get LiveTV through MythTV to work but that's a story I've mentioned a few times and I just seem stuck with that. Details here : http://forum.linuxmce.org/index.php?topic=5602.msg32747#msg32747

However, I did use the lighting screen to fiddle with the lights in our house, and strangely enough, from the bedroom, I can control all of the lights in the house, 100% of the time, perfectly!?

So I took a simple light module and plugged in a night light, set it to A2, and walked around the house to pretty well every room and plugged the thing in, and used the wireless x10 remote to see if I could turn it on/off. I had 100% success throughout the house. In the kitchen, we have two outlets that are wired separately (for 4 outlets on their own circuit). With the type of electrical panel we had installed, 2 of the 4 should be on one phase, and the other 2 on the other phase. I moved the light module around and it works fine in any of the 4 outlets. In a previous test before the phase coupler, it actually only worked in one outlet.

So this is telling me two things:

1) The phase coupler must be working!

2) Something is really amok with my LMCE!? All the lights are controllable from the master-bedroom machine and 4-5 of those don't work from any other orbiter, be that the core, the living-room machine, or the web orbiter. (I didn't try the windoze orbiter).

Looking through my file, I noticed that I was unable to delete some timed events and I went and mucked with the database. I wonder if that's related? (as in, did my changes delete too much data?)

See this link :  http://forum.linuxmce.org/index.php?topic=5943.msg35326#msg35326

All this time I've been blaming things on the phase issue. Any if anybody has any thoughts on the MythTV thing that would be nice too.

My intention is to wipe clean with the 8.10 release and use the i386 version (instead of the AMD64 version I'm using now).... but that is still a ways away. Any thoughts?

2
Users / NVIDIA Unveils Ion Platform
« on: December 19, 2008, 05:06:06 pm »
Saw this on the MythTV Mailing list... quite interesting though!

NVIDIA Unveils Ion Platform
http://www.dailytech.com/NVIDIA+Unveils+Ion+Platform/article13723.htm

When the ASUS EEE box came out, I was really interested in it. Mind you, it cost $378 CDN at the time.

I couldn't afford one, and a few months later I heard about the MSI Wind PC Intel 945GC 1 x 200Pin Intel GMA 950 Black Barebone
http://www.newegg.ca/Product/Product.aspx?Item=N82E16856167032&Tpk=N82E16856167032

for about $170 CDN (and I bought one of these!)

It would be interesting to see how the Ion Platform does. Keep your eyes and ears open!

3
Users / What happens to MythTV files in LMCE DB once Myth removes them?
« on: November 17, 2008, 09:05:16 pm »
I was just having a look around the Files and Media section of the web admin and went over the tv_shows_* folders to see what was up. When I checked show missing files, I got a whack of stuff in the database but no longer on disk.

MythTV will purge recorded shows as required, and I see a lot of entries for stuff that it has deleted or I have deleted through the MythWeb Recorded Shows web page.

We watch TV through the system all the time in the living-room, and the tv_shows_* folder on that box naturally contains a whack of database entries for shows we have watched. Myth has since expired them and there are far too many to delete by hand one by one.

So my question is... what happens to those entries in the database? does it matter that they are in there taking up space?

Is there an easy way to clean that up within LMCE?

4
While fiddling with my music collection, I was unable to apply attributes on all files in certain directories with a single quote in the filename...

Something like   Greatest Hit's!  would cause an error.

After seeing this a half dozen times I decided to add the addslashes() function to wherever it was needed.

Turns out to be in

/var/www/pluto-admin/operations/mediaBrowser/editDirectoryAttributes.php

I changed line 13 to look like this:

Code: [Select]
$filesArray=getAssocArray('File','PK_File','Filename',$mediadbADO,"WHERE Path LIKE '" . addslashes(@$dirData[0]['Path']) ."/". addslashes(@$dirData[0]['Filename']) . "' AND Missing=0 AND PK_File!='" . $fileID. "' AND IsDirectory=0 ORDER BY Filename ASC");

Changing the opening/closing single quotes in the SQL string to a double quote and modifying the line to get rid of the single quotes and added the addslashes() function around the Filename...

Works for me now.


5
A thread I read today reminded me that my music collection has a bunch of "desktop.ini" and "AlbumArt*.jpg" files scattered throughout my 20GB's of music....

So today I decided I would delete all those files with :

find . -type f -name "AlbumArt*" -exec rm -f {} \;

and

find . -type f -name "desktop.ini" -exec rm -f {} \;

run as root in the ~/audio/ directory.

Went super fast, did what I wanted, but I see LMCE has cataloged all the various AlbumArt*.jpg files and I suppose it does no harm leaving them in the database, but I like to keep things clean.

Is there a magic way to synchronize the db to the directory contents and automagically delete all the AlbumArt*.jpg files from the various database:tables...? There's far too many to do this manually in the Files and Media sync area directory by directory.

6
Users / Help with a fstab line on a workstation
« on: November 04, 2008, 03:37:46 pm »
I can run the following command:

Code: [Select]
sudo mount -t cifs -s -o credentials=/home/freymann/samba_lmce.txt,dir_mode=0777,file_mode=0777 //192.168.80.2/Storage203$ /mnt/device/203

on my ubuntu workstation so I have access to my 500GB drive on the living-room media director from my workstation. This works great and allows me to do backups to the drive.

I wanted to make this permanent, so I added this line into my /etc/fstab file:

Code: [Select]
192.168.80.2://Storage203$/ /mnt/device/203/ cifs credentials=/home/freymann/samba_lmce.txt,dir_mode=0777,file_mode=0777 0 0

but when I fire up my workstation in the morning, it doesn't take, and if I run "sudo mount -a" form the command line I get this message:

Code: [Select]
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

Can anybody spot what I've done wrong in my fstab file?



7
Developers / How to get a message in that pop-up status window
« on: October 21, 2008, 10:40:03 pm »
I'm working on a little idea of mine..

I usually watch LMCE with either my Notebook or iPod Touch nearby, and flip the device on about every 30 minutes to check for new emails. I was thinking... wouldn't it be nice to have something running on the core that can check my mail accounts and alert me when new messages come in?

Just a quick little status window in the top left corner of the screen with something like:

New Message From: <name>
Subject: <subject>

Something that pops up for a second or two then disappears.

I'm already tinkering with a simple PHP script and class and have it spitting out that information to my terminal window. The next step is to find a way to have LMCE display that on the screen.

Can that be done by writing to a log file or do I need to send a command to the dcerouter some how through PHP?

8
Users / changing the workgroup name - does it break anything?
« on: September 08, 2008, 09:09:37 pm »
The other day when I had my XP box booted up, I noticed two workgroups... WORKGROUP and LINUXMCE. I was surprised to see the LINUXMCE workgroup, as in the main admin page, I changed it from LINUXMCE to WORKGROUP, as it was easier to make one change there rather than run around all my other computers and change the workgroup name and reboot them all.

However, that has me thinking...

On any of my MD's without tuner cards, MythTV always starts and then exits within 30-45 seconds. I'm wondering if the workgroup name is related to this somehow? I checked the LINUXMCE workgroup and Moon32 was in there. That's my living-room machine. I thought if I updated the workgroup name in the admin pages, it would affect everything, but apparently not.

So now I'm thinking I should go back to LINUXMCE and run around and manually configure my XP boxes and build another test MD and see what happens.

So does anybody know if changing the workgroup name in the admin pages breaks anything?

9
This is something odd. Since about Aug 26th, I guess anything we schedule to record hasn't been recording the correct channel. I went to play back some tv shows from last week and they all go crazy at the beginning with channel numbers. It's like the original problem I had with it sending the channel numbers 4 times each, so

301

became

3333 0000 1111

That's what the playback looks like at the beginning of the recording.

We haven't had any problems watching TV through LMCE on the living-room machine, and I just went to the basement core and went to TV, called up the LMCE guide, selected a channel, and it changed fine.

Anybody experienced this? This is whacked if we can't schedule recordings.

10
Users / Media Sub-Type fields clears when I move movies around
« on: August 10, 2008, 05:37:59 pm »
If I have a movie in a folder, and then use Dolphin in the KDE Desktop on the core to move that movie (*.avi) and the .id3 file to a different folder, LMCE finds it in the new location and my attributes and cover art remain, except for the Media Sub-Type drop-down, which, in this case, would be set to "Movies".

I'm moving the movie around on an internal drive in the core.

I find I have to make a note of which movies I just moved and then go back into the webadmin and set the Media Sub-Type again for all the movies I moved.

Is that normal?

11
Users / Can't delete events (resolved)
« on: August 06, 2008, 01:58:51 am »
We were away over the (Canadian) long weekend, so I programmed LMCE to turn on/off some house lights. One item I wanted was to turn on a small night light in the kitchen at sunset, and turn it back off at sunrise.

As far as I know, that went fine, but now that we're back, I can't delete those two events in the web admin.

If I click on the "Respond to Events" link in the left menu, I see:

Code: [Select]
                            Sunset  Advanced Edit Delete
Sunset - Kitchen Light ON Sunset Advanced Edit Delete
Sunrise - Kitchen Light OFF Sunrise Advanced Edit Delete

The first entry doesn't have a description and I remember seeing that a while ago and trying to delete it.

The other two ware what I created before we left and now I can't delete them either.

When I click on the "Delete" link, I get a pop-up asking me if I'm sure I want to delete the event, I click on "OK" and the screen refreshes with no changes.

If I click on "Advanced" I see the entire list, but the "Delete" link has no effect there either.

Any suggestions on how to delete these things?

12
Users / SOLVED - My /MythTvDailyFillDB.sh seems to be 'stuck'
« on: July 19, 2008, 05:49:25 pm »
I noticed that I only have 10 days worth of guide info so I did a ps -aux on the core and I see:

Code: [Select]
mythtv   19420  0.0  0.0  17932  1652 ?        S    Jul18   0:00 sh -c /usr/pluto/bin/MythTvDailyFillDB.sh  >>/var/log/mythtv/mythfilldatabase.log 2>&1
mythtv   19421  0.1  0.5  28028 11892 ?        S    Jul18   1:44 /bin/bash /usr/pluto/bin/MythTvDailyFillDB.sh

so I then check the log file and it's full of:

Code: [Select]
We do not want to start until it has been
2 minutes since the MythTV channel download.

Things were ticking along quite nicely... but I wonder if going into mythsetup triggers another mythfilldatabase and for some reason it's created a lock file of some kind...

I don't see mythfilldatabase running on the other MD.

What do I need to do to make it continue?

13
Users / Is it safe to install the APC UPS software on the core?
« on: July 15, 2008, 08:30:21 pm »
I bookmarked this thread a while ago:

http://ubuntuforums.org/showthread.php?t=230199&highlight=apc+ups

because I knew I'd be replacing the UPS on the core with an APC that has the USB data cable.

Would any of the developers if it's safe to mark and install the APCUPSD software in Synaptic software package manager? (or whatever it is we use under kubuntu)...

Thanks!

14
On our living-room machine, which connects to a big ole 32" CRT TV via SVideo, I originally was using the UI2 with alpha blending. The wife complained it was too hard to read the text in the guide or view the data grid, so yesterday I connected up my VGA LCD screen and set out to run the A/V Wizard and change to the UI2 Medium setting.

After trying to reach behind to connect to the monitor, I noticed the machine had locked up [first and only lockup in over a month]. When I rebooted the MD, I had no video at all to the VGA or SVideo, but I could hear the machine booting (the two sound effects were audible). Hmmm.

So I powered off again, yanked the side panel off to check for heat. No more than usual. I was using a nVidia 7200 PCIe video card with no fan, just heatsink, and the only other card in the box is the pvr-150, as far apart from the video as I can do.

So I leave the side panel off, power up again, and now I have video to the VGA and the text part appears on the SVideo, but as soon as it switches to 'windows' I get bloches of colors on the TV. So I'm thinking perhaps the video card took a power surge (the basement UPS was flickering on and off many times throughout the day. Today I'm getting a UPS for the living-room).

I had purchased a nVidia 7300GT PCIe video card with fan to test the old core as a MD, so I grabbed that video card and installed that into the living-room MD. When it booted up I held down the shift key to get the A/V Wizard to load up, selected SVideo and Medium UI, and this produced the same results as before. Nothing but large squares of colors on the TV.

Powered off again, went to a web browser, and in the Web Admin, I had it rebuild the Disk Image.

When that was finished, powered back up the living-room MD, walked through the A/V Wizard, selected SVideo and Medium UI again, and this time everything went according to plan.

My problem is now the LMCE Menu is super slow! If I'm watching TV inside MythTV and try to bring up the LMCE Guide, it takes about 10-15 seconds for it to come up on the left, and takes at least that much longer for the right panel to fill up. Trying to get the guide to flip up or down works, but much slower than before. When you press the right mouse button to close the guide, I'm left with a big black area where the guide was, and eventually it disappears, but in the meantime you can't see what's on the TV of course.

I thought the Medium UI would work better than the full blending setting.

At this rate, I think I'll just put back in the 7200 fanless video card and see what happens.... unless somebody here in the forums has run into this and knows a tip or two they can share with me?

I have found anytime I fiddle with the video settings, there's a 90% chance I'm going to get an error message about OpenGL and the Orbiter. It's not as simple as just trying the various video modes, at least for me.

This is on the AMD64 7.10RC2 version on the Core and MD. Full specs in my signature.

Thanks in advance for any tips or suggestions.

15
Users / Correct way back to Orbiter from KDE Deskstop?
« on: June 26, 2008, 04:48:03 pm »
When I go to the KDE Desktop what is the correct way to get back to the on-screen orbiter with the flickr slideshow and the F7 menu? Sometimes I'm able to click on one of the running program icons to get back, and sometimes clicking on the running program icons does absolutely nothing? In those cases I sometimes click "Start Orbiter" or whatever it's called, in the LMCE Manager program window.

I think when I was testing a few weeks ago, when I clicked on the "Start Orbiter" link (or is that Launch Orbiter?) I would get back to what I call the main screen, but I ended up with multiple main screens and eventually had to reboot.

It's a simple thing really, but I'm curious as to what the correct method is.

Pages: [1] 2 3