Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags attributes #280

Open
Qwerty-Space opened this issue Apr 16, 2024 · 3 comments
Open

Tags attributes #280

Qwerty-Space opened this issue Apr 16, 2024 · 3 comments

Comments

@Qwerty-Space
Copy link

Have you considered the ability to tag tags?

For example, Frodo Baggins is a character in a book, and a movie under the Lord of the Rings umbrella.

With tag-tags, I could tag a photo of Frodo with the Frodo Baggins tag, which inherts the tags character, Lord of the Rings, Hobbit, etc. But then the Lord of the Rings tag inherits the tags book, movie, author=J.R.R. Tolkien. The Hobbit tag inherits halfling, fantasy species.... And so on.

I think you get the point.

@ashleyharvey
Copy link
Contributor

tmsu help imply

@Qwerty-Space
Copy link
Author

Oh, I couldn't find that on the wiki, looks like it's only in the help pages.

Does imply support multiple implied tags?

@ashleyharvey
Copy link
Contributor

Oh, I couldn't find that on the wiki, looks like it's only in the help pages.

Does imply support multiple implied tags?

$ tmsu tag photo.jpg 'Frodo Baggins'
tmsu: new tag 'Frodo Baggins'

$ tmsu imply 'Frodo Baggins' character
tmsu: new tag 'character'

$ tmsu imply 'Frodo Baggins' 'Lord of the Rings'
tmsu: new tag 'Lord of the Rings'

$ tmsu imply 'Frodo Baggins' Hobbit
tmsu: new tag 'Hobbit'

$ tmsu imply 'Lord of the Rings' book
tmsu: new tag 'book'

$ tmsu imply 'Lord of the Rings' movie
tmsu: new tag 'movie'

$ tmsu imply 'Lord of the Rings' author='J.R.R Tolkien'
tmsu: new tag 'author'
tmsu: new value 'J.R.R Tolkien'

$ tmsu imply 'Hobbit' halfling
tmsu: new tag 'halfling'

$ tmsu imply 'Hobbit' fantasy species
tmsu: new tag 'fantasy'
tmsu: new tag 'species'

$ tmsu imply
    Frodo\ Baggins -> Hobbit
    Frodo\ Baggins -> Lord\ of\ the\ Rings
    Frodo\ Baggins -> character
           Hobbit -> fantasy
           Hobbit -> halfling
           Hobbit -> species
Lord\ of\ the\ Rings -> author=J.R.R\ Tolkien
Lord\ of\ the\ Rings -> book
Lord\ of\ the\ Rings -> movie

$ tmsu tags photo.jpg
Frodo\ Baggins  Hobbit  Lord\ of\ the\ Rings  author=J.R.R\ Tolkien  book  character  fantasy  halfling  movie  species

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants