Using Tags

All your suggestions, requests and ideas for future development
Post Reply
Draik
Donor
Posts: 19
Joined: 12 Apr 2014, 07:51

Using Tags

Post by Draik »

I've mentioned this before, and now that the Mac app is in the store, maybe it's time to look at it again?

With the release of OS X Mavericks, Yosemite, and El Capitan soon, the use of tags has expanded past using only colors with one label per color.

I would like to see the ability to tag files with customizable colors and labels for certain things (such as genres, resolution, audio, quality, etc) if possible.
One of the tabs on the left side of the application can be the window to customize different values with different tag colors and labels.

Let us know if this would be something you'd be able to do. It would be amazing to see movies with tags such as "Drama", "PG-13", or "1080p". Would make going through a data base to choose something to watch incredibly easy and smooth.

Graduated yet, btw?
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Using Tags

Post by rednoah »

I've already implemented this functionality in the xattr script. It will read FileBot xattr metadata and then write Finder tags.

After playing with this for a while I found it ultimately useless. So I wouldn't wanna clutter the UI with that.

If there's need for a GUI (other than the xattr script) I might consider a free or dirt cheap companion app.


EDIT:

This is what I meant:
Image
@see viewtopic.php?f=4&t=5#p5394

The "format" that yields the tags is currently hard coded, but can easily be changed to include pretty much anything. Let me know if you have any idea regarding useful tags.

Code: Select all

{if (movie) 'Movie'};{if (episode) 'Episode'};{source};{vf};{sdhd}
EDIT 2:

Next semester, or the one after that. :D
:idea: Please read the FAQ and How to Request Help.
Draik
Donor
Posts: 19
Joined: 12 Apr 2014, 07:51

Re: Using Tags

Post by Draik »

After getting cask and using the scripts on some of my files, I can see why this seems useless.

I'm using OS X, El Capitan, FileBot 4.6 (3028), and Java 8 update 60.

The tags are added to the video files. On 220+ Episodes, I got the tags 720p, 1080p, HD, HDTV, WEB-DL, and Episode, only. Not to mention, they were not consistent. (Some Episodes would have the tag "Episode", but not all of them, even under the same series)

I've shared my Series naming scheme in the past, but let's take a look at it again:

Code: Select all

/Path/{n.replaceAll(/[`´‘’ʻ"]/, "'").replace(':'," -").replace('?',".")} {[info.status == 'Continuing' ? 'On-Going' : 'Ended']} {genres}/Season {s.pad(2)} {try{sdhd}catch(e){'SD'}}{' '+vf.match(/720[pP]|1080[pP]/)}/{episode.special ? 'Special/':''}{n.replaceAll(/[`´‘’ʻ"]/, "'").replace(':'," -").replace('?',".")} {episode.special ? '[Special] ':''}[{s.pad(2)}x{es*.pad(2).join('-').replaceAll('null',{episode.special ? special.pad(2):''})}] {t.replaceAll(/[`´‘’ʻ"]/, "'").replace(':'," -").replace('?',".")} [{try{"$source "}catch(e){'XQ '}}{vf.match(/720[pP]|1080[pP]/)+' '}{try{"$ac"}catch(e){'UA'}}{" $group"}]
The result would be:

Code: Select all

Supernatural [On-Going] [Drama, Fantasy, Horror, Mystery]/Season 11 HD 1080p/Supernatural [11x02] Form and Void [WEB-DL 1080p AC3 Group]
Imagine it looked like this instead:

Code: Select all

Supernatural/Season 11 HD 1080p/Supernatural [11x02] Form and Void
Where the folder "Supernatural" has the tags "On-Going", "Drama", "Fantasy", "Horror", and "Mystery". And then the file "Supernatural [11x02] Form and Void" would have the tags "WEB-DL", "1080p", "AC3", and "Group". Or even have the files called "11x02 Form and Void", where the name "Supernatural" is just a tag.

Now, the naming scheme is short and simple, yet organized, and when someone is in the mood for a specific genre, it's a simple click on a tag to list all shows/movies/anime with that genre tag. And all the important information for finding the correctly synced subtitles are still intact.

Tags would even help add/save information that if they were included in the actual name, would make it impossible to use media applications such as Plex or XBMC.

Using the script focuses on Files specifically, not giving us any options for folder. I don't know if you can implement this, but something like:

Code: Select all

/Path{n.tag}/Path/File{xx.replaceAll(/[`´‘’ʻ"]/, "'").tag}
Would something like that be possible, or in a more code appropriate method?
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Using Tags

Post by rednoah »

1.
Movie/Episode info bindings (movie, episode, n, t, etc) will only work if the file is already xattr tagged, meaning it has been renamed by FileBot. You can view xattr with the xattr script.

2.
There is no support for tagging folders.

3.
The current "tag format" is as follows:

Code: Select all

{if (movie) 'Movie'};{if (episode) 'Episode'};{source};{vf};{sdhd}
@see https://github.com/filebot/scripts/blob ... groovy#L29

Nobody is using this feature, so you're welcome to come up with a better default for the "tag format". ;)
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Using Tags

Post by rednoah »

:idea: Please read the FAQ and How to Request Help.
Post Reply