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

Pages: 1 2 [3] 4
Users / Re: Vote - on specific Forum Charter question....
« on: March 27, 2009, 02:56:50 pm »
Wow, Godwin's law already?  I think we're overreacting a little here.  A couple thoughts, mainly gleaned from others:

  • Please stop using the "Tough Love In This Forum" thread to judge this charter effort.  If anything, that thread is an example of what the charter is trying to counter!  We need to move past previous mistakes and our personal disagreements, and focus on bettering the forum.
  • Could the moderators please own up to deleting posts that they deleted?  Honestly, what are you trying to accomplish if you aren't willing to point out what was wrong with the posts in question?  And if it was a mistake, it was a mistake - I think given the fluidity of the situation it is understandable, but refusing to own up to it just feeds this mistrust and backlash.
  • I share Zaerc's reservations as to the motivation for these changes, but I don't subscribe to the "slippery slope" or "pandora's box" arguments.  It's an isolated incident, compared to the more persistent abusive tone of the forums, so I would consider that trivial compared to the benefits.
  • Totallymaxed brings up an excellent point as well - let's keep in mind that the new moderators are finding their footing, and give them a little space to do it.

Users / Re: Vote - on specific Forum Charter question....
« on: March 27, 2009, 01:03:12 pm »
My take on all this is lets stop trying to 'document all the angles' and rely on the three of you to act a reasonable and collective manner and in the best interests of making this forum a happy, positive and compelling place to contribute and participate in.

Trying to write a formal 'constitution' is just wasting 'cycles' in my view... lets just let the three of you do your 'jobs'.

I understand your point, but I think that it is important that they act in unison and for clear reasons.  I think lmce3000's thread brings up a good example, where there is some disagreement about the actions taken.  If the moderators aren't on the same page about these kinds of things, then it just matters who gets there first and the rules appear arbitrary.  Not to mention that keeping the level head and light tough needed for good moderation is not easy, so I imagine it will be valuable to have some standards to reference when making decisions.

Users / Re: "Tough Love In This Forum"
« on: March 26, 2009, 10:45:45 pm »
hari, et al.:

I just wanted to chime in and commend you for making this effort.  In my opinion, LMCE has some unique challenges as an open-source project in that it takes a larger investement to get involved than your average project, both in terms of hardware and time.  I know that for me, when I started considering jumping in I was a little nervous about that investment because of these obstacles to it's growth.  In other words, when you see some of the harsher reactions or profile-editing, it makes you question (1) am I okay with joining that community myself and (2) will that stop other people from jumping in, thereby damaging my own investment as the project fizzles out.  There's a similar dilemma when considering jumping into the code.  I personally got past those things and am slowly learning my way around the code, but it certainly makes me feel much better to see that you guys are taking this seriously and willing to take action.  In short, thanks once again, and I look forward to seeing how the new moderators work out!

Users / Re: this is what a real media center is!!!
« on: March 26, 2009, 01:14:18 pm »
Or here's another interesting add-on. For those people that have workout videos and the like, now they don't need to be fumbling with DVDs and, if short on time, can start warming up their workout in one place and finish in another. 

This was key to wife acceptance for me.  I've tried to wow her with IR integration and webpads, but so far nothing has impressed her as much as the exercise room MD and having the media follow her back to the living room when she's done.  Er, yeah, I mean I use it too of course  :)

Users / Re: mce and xp?
« on: March 15, 2009, 06:12:31 pm »
1) While there isn't a Windows implementation of the media director, note that you can netboot a windows machine as a media director as needed without affecting your existing installation.

2) You can use your existing rips.  I have a few vob rips that lmce picked up as dvds, you just need to make sure the directory structure is correct with VIDEO_TS containing all the necessary files.

Users / Re: Auto tagging folder - just a thought
« 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.

Installation issues / Re: reconfigure NIC numbering and order - HOWTO?
« on: March 05, 2009, 10:22:26 pm »
I don't know if this is the right way, but I usually edit /etc/udev/rules.d/70-persistent-net.rules to reassign eth0 and eth1 when I change nics.  There are usually entries for the old nics still in that file, so I comment them out and update the other entries as appropriate.  Hopefully that would work for your issue as well.

Marketplace / Re: DT 366 - Atigo S (Updated w/ 512MB Models)
« on: March 03, 2009, 02:56:29 pm »
All I want is cradle, where I can put the WebDT in so it gets charged, and is accessible.

Same here.  Let me know if you have more than one, I would like to get one as well.  I can pick up this weekend if that works for you.

Users / Re: Auto tagging folder - just a thought
« on: February 27, 2009, 04:59:22 pm »

  • I implemented the add/overwrite/no-action (calling it the 'Conflict Action' since there may be other options in the future, and 'add' does not apply to some rule types).  Default is "NoAction".
  • I implemented the backup feature.  I'm logging to a csv file (so I could reuse my existing file format), with each row containing timestamp, tag id (unique per run only), change description, and sql to revert.  You run the sql in the reverse order to revert, and it seems to work pretty well.  Of course, this will require a front end as well...
  • I'm currently working through a bunch of test scenarios.  My notes attached, in case anyone would like to add some missing test cases.  (Sorry about the image format.)
  • The web admin front end is still looming ... I am hoping to dive in this weekend, but I would still welcome any help on this piece.  This would work out especially well now, since the backup management and rule management are fairly separate features.

Users / Re: Auto tagging folder - just a thought
« on: February 24, 2009, 05:28:37 am »
A no-action rule only needs remove the tag if there is only exactly one instance of the tag and its value matches. Obviously, there isn't much you can do if the rule is a replace rule without getting tricky with history attributes (sure fire way of it not getting added to 0810!) Does that make sense?
Yeah, I see what you are getting at.  I think that the reuse option for short attributes would screw up the logic for reverting a no-action as well, because it would not be clear if the tag was already associated with the file or not.  I think an approach that will adapt to more complex rules (as I expect these to get more complex) would probably be easier in the long run.  I could possibly extend the existing rules to log a description and sql necessary to revert the changes as they execute.  This could be used to provide a log of changes made as well as a method to revert them. 

One other point is, often "new" files will have tags. mp3s ripped from other sources will already have embedded tags, usually.
Good point.  I was thinking in terms of what what is in the database at the point the tags are applied, but that doesn't really matter.  I need to see how things are handled if existing tags conflict with a rule, and make sure the new replace/add/no-action rule handles it properly.

2) Probably should test the mp3s then as this is a different type of tag... I'm sure it will work if the .id3 ones do, though.
Yeah, I did look through that code before starting this and they are handled the same.  Still worth running some through and making sure.

4) Understood. In addition to moved files not being retagged, perhaps there should be some way of overriding the autotag, so that although you want a particular file to be filed with all the others in one of these folders, you could easily want a one off manual exception.  Not sure that the file isn't "new" to UM is enough here, as manually moving a file, or even renaming it in situ will make UpdateMedia think it is new again... even manually editing attributes for mp3s I believe does this....
I hadn't thought about exceptions ... I'll mull this one over.  It might make sense to add a new rule type for exceptions and allow it to be applied to a file or directory.  This would allow you to cut off another rule's recursion as well as handle the one-off files.

I'm not sure that the effort involved for the manual approval process is worth it. Its a great idea (perhaps use a db table as a queue like pnpqueue does), but perhaps the 'add' rule and even the 'undo' function provides enough security?
I agree, the undo is sounding like a better option.  It offers the security without getting in the way of the automation that the feature is supposed to offer. 

Users / Re: Auto tagging folder - just a thought
« on: February 24, 2009, 03:30:03 am »
1) I'm working on the replace/add/no-action option right now, actually.  This didn't come up until I implemented the 'run rules now' feature, since new files wouldn't have existing tags.  And I like the idea of being able to undo, but I don't think I follow how the new attribute would allow it.  Can you expand on that?
2) When new files are tagged, yes (though I haven't specifically tested mp3s).  The db is updated just before the sync occurs, so id3 files are written out as UpdateMedia continues.  The 'run rules now' is a separate executable though, and the id3s aren't synced until the next UpdateMedia run.  I didn't think that was a big deal, but we could consider adding in a call to fire off UpdateMedia at the end if necessary.
3) I didn't know what that attribute was for until you asked the question, but yes the backend supports it.  It would be a rule like:
Code: [Select]
ShortAttribute, 30, *, true
4) Both.  First, an update to UpdateMedia for new files, which updates the new File row before the id3 is synced.  Second, the 'run rules now' is a standalone that uses the same library to load and execute rules against only files that are already in the db.  Note that when I say 'new file', I'm referring to new according to UpdateMedia. Files that are moved to the directory and recovered by UpdateMedia will have their paths updated in the database, but it will not trigger the auto-tagging.  The standalone would need to be used in this case.
5) Shaky, but yeah that's probably my next step.  I was thinking I would  extend the existing media sync screen, but it's starting to look like the rule definition will be different enough from the attribute creation that it will warrant a separate section or screen.

No problem, good questions and you are giving me some additional ideas for testing.  BTW, do you think the approval process is worthwhile?  I'm seeing it as something you use as you work through and test your auto-tagging rules, and eventually disable when things are running smoothly.  It's probably a significant extra bit of work though, so it's not worth it if it's just going to get in the way.

Users / Re: Auto tagging folder - just a thought
« on: February 23, 2009, 11:08:00 pm »
Don't we have something like this in 0810 already?

I'm not sure... the closest I know if is this:  But I believe that is for applying tags recursively, rather than automatically tagging new media as it is added to the system. 

Please do let me know if this already exists, I'd rather not spend more time on it if it is already implemented...

Users / Re: Auto tagging folder - just a thought
« on: February 23, 2009, 10:16:00 pm »
Thom is understandably a little nervous about including auto-tagging.  It sounds like the best direction is to just get people using it.  I also was toying with the idea of having the autotagger queue updates for approval rather than executing them directly.  This might help keep users from shooting themselves in the foot with a rule that is too broad, and there could be a hidden or heavily-disclaimered option to bypass the approval process.  I'm not sure if this kind of feature would help with the comfort level or would maybe just get in the way?

As far as getting others to use it, I think the main things in the way of that right now are lack of front-end and my ghetto config file.  Currently I'm using something like this:

Code: [Select]
FileColumn, FK_MediaSubType, 2

FileColumn, FK_MediaSubType, 1

FileColumn, FK_FileFormat, 4, 720p
FileColumn, FK_FileFormat, 5, 1080p
FileColumn, FK_FileFormat, 2, dvd
FileColumn, FK_FileFormat, 2, \.iso$

ShortAttribute, 8, Chick Flick, true

To explain these examples:
  • Adds a rule to tag all files under import/movies as movie, and files under TV as TV
  • Adds a rule global to public videos that tags as 720p, 1080p, or dvd based on expressions matched against the filename
  • Adds a rule to tag all files under wifesmovies as Genre="Chick Flick".  The true indicates that it will attempt to reuse an existing attribute if possible

Its basically a hacked up CSV file that I used as a temporary solution so I could get rolling on the functionality.  I'm not sure that I really see anything wrong with it right now, so maybe it can stay.  One possible issue is that it could get a little messy if any tag types allowed variable parameters.  Any thoughts?  Is there any advantage to having this stuff in the database?

As for the front-end, I'm getting ready to start looking at the admin website.  Fair warning though, I have very limited experience with php and UI is probably not my forte... if anyone wants to help with this portion it would be more than welcome!

Users / Re: Auto tagging folder - just a thought
« on: February 23, 2009, 05:13:43 am »
so cool! thanks for all your effort jt!! can we get it into 0810??

That would be great, I'm just not really sure how I go about doing that (especially if the config data ends up in the database).  I will follow up with the devs when I wrap up the other items and see if that's a possibility.

In the meantime, I implemented the pattern-matching as a condition and 'run rules now' functionality.  I gave it some basic rules at /home/public/data/videos to tag anything with 720p / 1080p / dvd in the filename as the appropriate format, and let it run through my production system.  All looks good so far, and I think its in a much more useful state.  Now it just needs a front end and a better configuration store... that end is fairly ghetto at the moment :).

Users / Re: Auto tagging folder - just a thought
« on: February 22, 2009, 04:48:04 pm »
I'm just getting back to the auto tagger after a long period of various distractions.  I have the basics in place, where it will automatically tag every new media file in a particular directory.  Short attributes, long attributes, and File columns (e.g., media sub-type, file format) are implemented.  The rules are stored in a configuration file for now, and there is not a friendly front-end for it.  I still think the rules will probably need to go in the database, but I'm waiting until the configuration is a little more well-defined to work that out. 

My next steps (in no particular order):
  • Add pattern-matching as a rule condition (e.g., set FileFormat to 720p if filename contains "720p")
  • Add pattern-matching to rule actions (e.g., extract season, episode, title, etc. from filename for television shows)
  • Run now functionality (currently only applies to new files)
  • Web admin configuration - I'm kind of putting this off because I have no php experience

I'm hoping that others will find this useful as well, so please let me know if this direction makes sense or if you'd like to try it out.  I'm finding it's not incredibly useful yet without the pattern matching (I'm basically just using it to set media subtype on my prod environment right now), but once that and 'run rules now' are in place I think it will be pretty helpful.

Pages: 1 2 [3] 4