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

Pages: 1 [2]
16
Users / Re: New Media Tagging System
« on: November 09, 2008, 04:39:31 am »
PM Sent.

Also out of curiosity who owns the files?

I know I do my development as root, so perhaps chowning them to root would make a difference?

Anywhoo email me some screenshots, and we can get it worked out :)

Thanks!

17
Users / Re: New Media Tagging System
« on: November 09, 2008, 01:28:28 am »
Could you doublecheck the file: /var/www/pluto-admin/operations/mediaBrowser/mainMediaFileSync.php

you should have on line 55 a javascript function doRecursive()

Also on line 93 there should be an html button named Recursive.

That file is one of the ones in the archive so if it was written correctly, those lines should be there.

That's the part of the code that displays the button and redirects the righthand pane into the recursive tagging tool.

Also /var/www/pluto-admin/operations/mediaBrowser/editMediaTagsRecursive.php should exist (extracted from the most recent update file)

If that doesn't help, can you send me a screenshot of the screens your describing so I can better see the problem?

The code works fine for me, and on the one other person I know who has tested it. But I haven't heard much feedback at all from anyone else yet, so I don't know how well it's working across the board.

I guess I should point out this was built on 0710 as well... I haven't tested on any other version yet. (although I hope for it to be included in the 0810 release).

18
Users / Re: New Media Tagging System
« on: November 08, 2008, 04:27:26 pm »
Yet another update. This one just adds some fine tuning to the UI.

Added back buttons throughout so that you can navigate a little smoother.
Also added a sample file listing to the first page so it is simpler to figure out the name parser settings for doing the tv episode tagging.

Just overwrote the same file as the last patch, so see my last post for the link to the updated file. (just re-download it and overwrite)

19
Users / Re: New Media Tagging System
« on: November 08, 2008, 04:05:35 am »
Ok, I was notified of a bug. Apparently I didn't escape my strings before running SQL queries... Please extract this tarball, and overwrite the editMediaTagsRecursive.php in the original archive I posted. This should correct the problem.

http://www.samuraipotato.com/files/editMediaTagsRecursive.tgz

Thanks tkmedia for pointing it out!

20
Users / New Media Tagging System
« on: November 08, 2008, 02:17:55 am »
Hey everyone, I figured I would make my first stab at contributing to the LMCE codebase... So I developed a new addition to the media tagging functionality within the web admin.

I know everyone finds it painful to tag each item individually, and there is no easy solution for TV Episodes... So I wrote a new system to handle that.

Basically it integrates to the media file sync screen, when your browsing a folder, you will see a button labeled "Apply These Tags Recursively". That lets you access the new system.

How this is meant to be used:
- First Put your media inside a folder structure of some kind. In my case, for TV Episodes for example I store it in TV/Showname/SeasonX/Filename.avi
- Also it helps alot if your files have a standard file naming convention, most downloaded packs do, but be careful if it's a mixed bag.
- Now you browse to (in the case of my example) the "Showname" directory.
- Now apply any tags that apply to the entire show (or use the search amazon function)
- Now click the Apply Recursively button. This allows you to copy these tags onto every file/folder contained within this one (fullly recursive)
- Once in the recursive screen, choose if you want it to apply to files, folders, or both.
- Also if you want to tag TV episodes automatically by their filename, check out the TV Episode Tagging Mode.
- Now click the "Confirm" button and see a sample of what it will affect. If there are any problems it will tell you here.
- Click the final approve button and it will go nuts tagging your files.
- Just because I target TV Episodes doesn't mean it can't be used for other types of media. The recursive tagger will recursively tag anything
- (it's just the file parsing tagger that's specific to tv episodes)
- This will recursively duplicate all attributes, long attributes, and images.

Some things to consider:
- IT WILL OVERWRITE ANY TAGS YOU HAVE! so please be careful where you use it.
- It is not 100% tested yet, there may be bugs.
- The tv series renamer is designed only for tv series (but since these are all that is really lacking in LMCE I thought that's fine)

Notes about the TV Episode Tagger:
- It is flexible. It can handle any case where files are uniformly named
- Example: S01E02 - Some Title [[HDTV-LOL]] or something like that.
- As long as the following conditions are met:
- Season number, and episode number must be fixed length (If you use 2 digits, it must be 2 digit everywhere, so 1 will be 01)
- Season and episode number must come before the title in the filename (but their order is not important)
- If those criteria are met, it should be able to glean the season number, episode number, and title from the filename.
- You can use the strip text field to rip off group tags like the [[HDTV-LOL]] in the example.
- It supports adding more than one strip text, so you can strip wierd file formats, or rip garbage out.
- Get creative with customizing the settings, and let me know how it works. I'm open to suggestions.

The file can be downloaded at: http://www.samuraipotato.com/files/Recursive_Tag.tgz

The file is relative to the /var/www directory on the core. Extract it SOMEWHERE ELSE and make BACKUPS of your originals, then overwrite them with these.
Or you can search for PAUL MUMBY in the code, for comments which mark modifications made by me. And patch it in yourself.
I'm talking to the devs about getting this merged into the LMCE distro so you don't need to manually install it.

That's about it. I hope everyone enjoys! (if someone gets a chance, post some screenshots or more details install instructions, I haven't got time right now lol)

Shameless plug for my home business goes here: http://www.proswords.com/ (if your interested let me know you came from LMCE for a 10% discount!)

Let me know if you have any problems, bugs, suggestions, or questions.

Pages: 1 [2]