Author Topic: Auto tagging folder - just a thought  (Read 19059 times)

jthodges

  • Veteran
  • ***
  • Posts: 60
    • View Profile
Re: Auto tagging folder - just a thought
« 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.

jthodges

  • Veteran
  • ***
  • Posts: 60
    • View Profile
Re: Auto tagging folder - just a thought
« Reply #31 on: March 29, 2009, 04: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  :D):
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, 05:10:09 pm by jthodges »

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Auto tagging folder - just a thought
« Reply #32 on: March 29, 2009, 11:06:15 pm »
VERY cool!!!

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Auto tagging folder - just a thought
« Reply #33 on: June 04, 2009, 02: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!!

jthodges

  • Veteran
  • ***
  • Posts: 60
    • View Profile
Re: Auto tagging folder - just a thought
« Reply #34 on: June 09, 2009, 04: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!

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Auto tagging folder - just a thought
« Reply #35 on: June 09, 2009, 11:01:52 pm »
Thanks jt! Guess we'll probably just have to wait until the release!

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Auto tagging folder - just a thought
« Reply #36 on: May 09, 2010, 08:27:38 pm »
Any news about?

jthodges

  • Veteran
  • ***
  • Posts: 60
    • View Profile
Re: Auto tagging folder - just a thought
« Reply #37 on: May 12, 2010, 05: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 ;).