LinuxMCE Forums
May 19, 2013, 09:37:07 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: Auto tagging folder - just a thought  (Read 4218 times)
jthodges
Veteran
***
Posts: 60


View Profile
« Reply #30 on: March 10, 2009, 02:55:13 am »

The tests all went well, I just need to do the web admin.  Unfortunately, I've been swamped the last couple of weeks and unable to get a jump on it yet.  I'm out of town right now, but I will be back this weekend and am hoping to dig in at that point.
Logged
jthodges
Veteran
***
Posts: 60


View Profile
« Reply #31 on: March 29, 2009, 03:54:17 pm »

I sent a patch off to Thom for review.  If anyone wanted to test in the meantime, I would be grateful.  I've attached a patch for 0810, but if someone with 0710 wants to test, let me know and I can probably produce some binaries for you. 

Here are a couple screencaps of the front-end (hey, I said I was no php guy  Cheesy):
http://i44.tinypic.com/96gjk5.jpg
http://i44.tinypic.com/15x7ple.jpg
http://i43.tinypic.com/eb53q1.jpg

Here is some more information for anyone wanting to try the patch:

This code depends on libpcrecpp.  Install it with 'apt-get install
libpcrecpp0'

The basic structure of the changes is:
 - src/AutoTag - this produces libAutoTag.so and the AutoTag
standalone.  This handles managing rules and provides 'run rules now'
functionality.
 - src/UpdateMedia - I integrated libAutoTag.so here to automatically
tag newly-added files only.
 - web/lmce-admin - A couple new screens for managing rules and
restoring backups

After patching, you should just need to (1) 'make && make install' in
AutoTag, (2) 'make' in UpdateMedia, (3) deploy the new UpdateMedia to /usr/pluto/bin (backup the old one first), (4)
deploy the lmce-admin updates.
« Last Edit: March 29, 2009, 04:10:09 pm by jthodges » Logged
colinjones
Alumni
LinuxMCE God
*
Posts: 3003


View Profile
« Reply #32 on: March 29, 2009, 10:06:15 pm »

VERY cool!!!
Logged
colinjones
Alumni
LinuxMCE God
*
Posts: 3003


View Profile
« Reply #33 on: June 04, 2009, 01:02:02 am »

jt - any chance you could produce the 0710 binaries you mentioned? Unfortunately, I'm not in a position to upgrade to 0810 alpha yet as we are dependant on the Fiire remote which doesn't work in 0810. But I would still really like to test this functionality!!
Logged
jthodges
Veteran
***
Posts: 60


View Profile
« Reply #34 on: June 09, 2009, 03:25:00 pm »

Unfortunately, my 0710 development image seems to be out of commission, along with the MD that was the only machine I could run that image from.  I'm not sure how quickly I'll be able to resolve this (could be a while), but the patch for 0810 and additional info is at http://trac.linuxmce.org/trac.cgi/ticket/158 in the meantime.  If anybody has a 0710 dev environment and wants to take a stab at it, I'd be happy to provide any help I can!
Logged
colinjones
Alumni
LinuxMCE God
*
Posts: 3003


View Profile
« Reply #35 on: June 09, 2009, 10:01:52 pm »

Thanks jt! Guess we'll probably just have to wait until the release!
Logged
pw44
Addicted
*
Posts: 651


View Profile
« Reply #36 on: May 09, 2010, 07:27:38 pm »

Any news about?
Logged
jthodges
Veteran
***
Posts: 60


View Profile
« Reply #37 on: May 12, 2010, 04:40:11 am »

As I understand it, the developers have chosen to pass over it for this release.  Hopefully we will get it reviewed for the next release, but in the meantime the patch is still available on the trac ticket.  I haven't tested it with any recent releases and would welcome any testing as always Wink.
Logged
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!