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

Pages: 1 2 [3] 4 5 ... 31
Basically, it just involves doing a "select PK_Attribute from Attribute where FK_AttributeType = ? and Name=?", then check if that returned a PK_Attribute value. If it did, reuse that, if not, insert a new item.


Well, you have PK_Attribute and FK_Attribute, use one or the other ;-)

Another thing to consider is when to re-use an existing attribute.... You could keep adding attribute with the same name, but that would make duplicate attributes in LMCE, not sure you want that...


Developers / Re: Pictures - improvements to browsing and tagging
« on: October 26, 2013, 11:51:21 pm »
External sync:
* several photo services (including google) supports keywords. The PSS (photo screen saver) is a separate attribute and does not get stored in the file (haven't found a suitable exif attribute).
* I know some windows specification describes another way to tag persons, so that could be implemented if we wanted to....


Developers / Pictures - improvements to browsing and tagging
« on: October 26, 2013, 10:55:05 pm »
Hi all,

(This post is both to inform of recent changes, but also to ask for future direction regrading picture support)

I've recently been working on improving LMCE support for picture handling. I started with a ticket on trac, including code originally made by "chriss", modifying this, and adding that to updatemedia. Now LMCE will load and store a couple of attributes to and from picture files, most notably the keyword attribute. (but title, manufacturer and date is also supported, but not used in LMCE).
The orbiter is updated to browse images by keyword.
The screensaver page has been modified to do ajax/real-time updates of keywords and screensaver attributes. (no need to press 'save' at the bottom of the page)

So far so good.. I'm fairly pleased with the result so far. My goal all along has been to make it easy to add (and remove) keywords. This is achieved by using ajax and an all-keyboard approach to adding keywords.

But I'm not done yet. And that is where you come in. I already have some ideas, but I haven't decided 100% yet, so this is your chance to share your thoughts  :)

My current ideas are support for:
* changing the exif orientation of the picture from the screen saver/picture manager page (I have a camera that does not store any exif orientation data, so all pictures not taken in the cameras normal position will be displayed wrong - the file is missing the rotation to correct this, but only for image viewers that support it of course)
* share album/keyword as a folder on the local network. This idea arise from the need to use images in other programs, after being tagged. Say you tag all your Christmas photos in LMCE, and want to send all those to your grandmother, or import them into a photo-book program. Well, once you have done that in LMCE, you should not have to categorize them again in some other program or add them file by file in your email program.
The basic idea is to define some filter to get the files you want, and to make them available in a folder on the network. (This would also be possible to extend to other files types like audio and video, but that is another idea ;) )

I will have to mention that these changes are done in 1204, if you are on 1004, you'll have to wait ;)

So, what do you miss, what do you want, what do you prefer, etc... I have left out some details in my post to make it short, but just add what you want, and I'll consider it!

best regards,

If you create a script to insert(and/or update) stations in lmce, please try to make it generic and available for other LMCE users. I know this has been requested before, so it would be beneficial...

(I know the html scraping part will be different for different sites, but the script to insert/update channels should be the same)



You can add files and streams of any kind from the web-admin, I think it is the Media File Sync menu. Go to the media file sync page and there should be a "Add new file" or something like that on the left side. I'm not able to double-check right now, but look around in the mentioned places ;)


Feature requests & roadmap / Re: Turn off MD based on idle time
« on: October 16, 2013, 07:43:32 am »
On a related note, you can also try to suspend your MDs instead of turning them off completely. If this works or not, depends on your hardware and is not enabled by default.
Details are in the wiki.

Generally speaking, the whole system has been designed to stay on at all times, so if you implement this, be sure to make it an option (with the default being like today imo).

I'd say that this could be added to the Orbiter code - I believe it is the one that controls the idle timeout today.


Users / Re: only one nic - still everything possible
« on: July 15, 2013, 10:19:57 pm »
Network setup with one nic is possible, although it may require some manual changes (I haven't tried the install on a one nic system in a while). But therein lies the potential problems.. unless you are familiar with LMCE and networks in general, you may run into some issues, and if asked, this forum will simply tell you to use two nics. (The important thing is to use LMCE for DHCP, as it seem you already know)

Best regards,

Users / DVD playback - bookmarks not honoring audio track settings
« on: July 12, 2013, 10:48:06 pm »
Hi guys,

I'm wondering if anyone else is experiencing the same problem as I.

I'm playing a stored DVD, and have stored a bookmark (start position, so that it will start at the beginning of the film each time, rather than the intro and menu, etc.). This works fine, but the audio track is always English, not Norwegian as it were when I set the bookmark.

As my preference is to have the Norwegian audio track, this is quite annoying. I have to go through the DVD menu, select setup and select the correct audio track to get it right.

So my questions is: has anyone else experienced this problem? is it specific to some DVDs (all I've tried has the same problem, but I haven't tried many)

best regards,

Users / Re: correct web admin settings for vdpau ?
« on: July 12, 2013, 07:29:44 pm »
I use "vdpau" in both "Hardware acceleration" and "Deinterlace quality" fields.


Users / Re: Play radio at a certain time (radio alarm)
« on: May 31, 2013, 01:18:11 pm »
It could be that the url you use actually is a playlist with urls to the real streams. I can't remember for sure, but I think that this will cause LMCE to expand that playlist into its own playlist, thus presenting each real stream url as its own item in the playlist.


Users / Re: Play radio at a certain time (radio alarm)
« on: May 28, 2013, 07:23:12 am »
You should send the command to the Media Plugin instead, using the MH_Play_Media command. This way, the router will be aware of the media and the orbiter will show it as well.


Users / Re: Update 10.04 to 12.04 = success (at least to me)
« on: April 04, 2013, 12:38:16 pm »
Foxi wrote in his post:


This disables the MD part of the machine, thereby making it a core and not a hybrid.


Users / Re: Google talk with my server - notify me
« on: April 04, 2013, 08:38:26 am »
Good idea, but instead of executing commands directly, I would instead suggest a more generic approach/improvement.

Create a new DCE command like "Send Notification". This command would be sent to some (new) device/plugin that can be configured to send notifications using several means. One option could be gtalk, another could be email. This way, you have a common method to send notifications as a result of events, and you don't have to go through all events if you decide to change from gtalk later on. You would just change from gtalk to email in the configuration of the notification device/plugin.

On the other hand, I don't see any problem with experimenting with different ways to send notification, that will be required no matter what route we go.

- sambuca

Developers / Re: ZWave - qees reto shell
« on: March 08, 2013, 08:48:26 pm »
Have you checked the DCERouter.log file for "power usage changed" events? You probably have, just wanted to make sure  ;)

I can't recall what the current code does - I know there are some special code to make things work more transparent (like asking for reports automatically, like metering reports for instance). Not sure if that applies to this particular device.

For the next release, I think we will use a ZWave driver based on the open-zwave library. The code is available in ZWave-OZW in our source tree. Myself and hari have been working on this for a while now, and I use this code now instead of the standard ZWave code. It works very well, but does not have some of the automatic setup that the old code has. Not sure how much of that we will add though. So to summarize, if you want to invest your time into this, I suggest looking at the new ZWave-OZW code :)


Pages: 1 2 [3] 4 5 ... 31