Coder Social home page Coder Social logo

autotag's People

Contributors

jamerst avatar jordidg avatar tyr3al avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

autotag's Issues

Problem with Finding Some Shows Correct Title

Dear Sir:

first let me thank you for you awesome work, I've lot's of .mkv files and were looking for a program that could find and add online metadata to my .mkv files. but I couldn't find a program to do that WITHOUT converting existing .mkv file. I'm not sure how but your awesome program can change and add online metadata to .mkv files WITHOUT converting them. as I said I tried lots of programs but none of them did the job as yours did. so you are LIFESAVER.

Now I would like to address some minor issues & some suggestion. sometimes application tags wrong tv show even the name of downloaded .mkv file is correct ( like: penny.dreadful.s01.e01) but it adds another shows tag to metadata. if you could able to add an option to edit match (like PLEX media server rematch option).in from Plex media server when you rematch it shows you the shows/movies with exact name to choose the right one(like : The office, The office U.S)

Tagging differs from Matroska conventions

In TV mode I'm seeing some tags not quite matching up with the conventions laid out by Matroska (https://www.matroska.org/technical/tagging.html).
(1) The tag with TargetTypeValue of 60 should have TargetType equal to SEASON, but AutoTag sets it to VOLUME...technically acceptable but not accurately descriptive.
(2)AutoTag doesn't add any tag of TargetTypeValue 50. This should be present and with nested tag NAME of TITLE with VALUE/string equal to the episode's title. Instead AutoTag is placing the episode title within Segment information/Title.

Suggestion: Language support

Hello there, first I want to say thank you for this really awesome tool! I appreciate your effort and work you put into this!

One thing I want to suggest, and hope you consider would be worth adding, is language support. A default language in the config file that could be overridden with a parameter like the other parameters. The language setting then affects the language of the metadata which is written to the file, as well as the file naming for show and episode titles.

Cheers

mkv - file not writeable

When i'm trying to tag a mkv file encoded by handbrake i'm getting the message "error: could not tag file - file not writeable", even when there is no process locking it. If i remux the file with mkvtoolnix i can tag it without problems, so it must be something about how handbrake mux the streams?

Running autotag always results in "No files found" since updating to v3.5.3

I just updated my version of autotag to v3.5.3 and each time i try to use autotag i get the error "No files found". I'm not sure exactly what version i was using before, maybe v3.5.2, but it was working before the update.

My filenames look like show_name.s02e01.720p.mp4, and the command i'm running is autotag --tv --tv-pattern "%1 S%2:00E%3:00 %4" --apple-tagging show_name.s02e01.720p.mp4. That exact command was working before updating.
I'm on Windows 10

EDIT: I just tried each version before v3.5.3 and the first one to stop showing me the "No files found" message is version `3.5.0

[Question] tvRenamePattern doesn't reflect the rename

Hi, I'm trying this software, seems good but I can't get the file name right.
I have change in "~/.config/autotag/conf.json"
"tvRenamePattern": "%1 - S%2:00E%3:00 - %4",

to have "Series - S01E01 - Title.mkv", format but when I rename some file i get this:
AutoTag v3.3.1
https://jtattersall.net
Adding file '../../tvnamer/House.of.the.Dragon.S01E01.The.Heirs.of.the.Dragon.1080p.WEB-DL.DD5.1.H.264-MiU.mkv'

../../tvnamer/House.of.the.Dragon.S01E01.The.Heirs.of.the.Dragon.1080p.WEB-DL.DD5.1.H.264-MiU.mkv:
Found House of the Dragon S01E01 (The Heirs of the Dragon) on TheMovieDB
Successfully tagged file as House of the Dragon S01E01 (The Heirs of the Dragon)
Successfully renamed file to 'House of the Dragon - 1x01 - The Heirs of the Dragon.mkv'

File successfully processed.

What i need to change?

AutoTag hangs and then breaks the file

This has happened to me several times. I run autotag --extended-tagging -m [movie name], autotag prints "found [movie name] on TheMovieDB", and then it just hangs indefinitely. When I press Ctrl-C a few times, it exits, but then my video file is broken and can no longer be played.

I'm using autotag version 3.5.3, but i'm pretty sure the issue has happened on earlier version too. I'm on Windows 10

Suggestions for additional Matroska MKV tags

It would be nice if AutoTag could use more of the info available in TMDb for tagging:
(1)Number of episodes in a season: placed in tag with TargetTypeValue of 60 as nested simple tag with name TOTAL_PARTS and string equal to the number of episodes.
(2) TMDB tv show identifier: placed in tag with TargetTypeValue 70 as nested simple tag with name TMDB and string equal to the series identifier "tv/___"
(3)All placed in tag with TargetTypeValue 50 and TargetType EPISODE, as nested simple tags of names: TITLE (of the episode), DIRECTOR, WRITTEN_BY, ACTOR, CHARACTER (as a nested-tag of ACTOR), DATE_RELEASED, DESCRIPTION or SUMMARY, GENRE, all with their respective strings etc...

macOS, some mp4 tags missing

Works great on macOS tagging mp4 files, but some tags are missing.

title: ok
programme: missing
season: missing
episode: missing
genre: ok

Not sure if this is a taglib issue.

Might also be due to the media kind tag not being set. The tags for TV shows seem to not show without setting media kind in Apple TV.

Screenshot 2022-04-12 at 23 03 27

Screenshot 2022-04-12 at 23 31 06

The output on the command line and the renaming looks good though.

AutoTag v3.2.0
https://jtattersall.net

Star.Trek.Lower.Decks.S02E01.1080p.mkv:
    Found Star Trek Lower Decks S02E01 (Strange Energies) on TheMovieDB
    Successfully tagged file as Star Trek: Lower Decks S02E01 (Strange Energies)
    Successfully renamed file to 'Star Trek: Lower Decks - 2x01 - Strange Energies.mkv'


File successfully processed.

Not sure if you support mp4 tagging would be really nice though!

File Name Character Substitution

When renaming movie files, AutoTag removes invalid characters, such as the colon ":" . Instead of removing invalid characters, would it be possible to have an option that can be used for substituting characters? For example, if movie title includes a colon ":", substitute for a dash "-".

Error: Unable to parse series name from filename

Hi! I am running this in a folder structure with files as follows:
Series/Season 1/S01E01 Title.mp4

using autotag -t --no-rename -v .

Running with --manual "Series" doesn't make a difference, and it's not clearly documented how that feature should be used. Either way, it finds all episodes, then outputs the above error. Any help is appreciated - thanks!

Error parsing config file when using parsePattern on Windows

I'm getting the following error on a Windows machine when trying to use the parsePattern field of the config file. If I set the config file parsePatten field back to "" and use the same pattern instead specified through the command line --pattern option the error is not thrown:
AutoTag v3.1.1
https://jtattersall.net
Error parsing config file 'C:\Users\Administrator\AppData\Roaming\autotag\conf.json'
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at autotag.Core.AutoTagSettings..ctor(String configPath)
at autotag.cli.Program.OnExecuteAsync()
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo method, Object instance, Object[] arguments)
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync[TApp](CommandLineContext context, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute[TApp](CommandLineContext context)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute[TApp](IConsole console, String[] args)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute[TApp](String[] args)
at autotag.cli.Program.Main(String[] args)

Suggestion "Sort

Hello there,

again I wanted to suggest a feature, although it's a bit for an edgecase. I'm filling up an iPod with some TV Shows, but somehow the old Software is not able to properly sort the episodes although they are correctly numbered with season and episode number.

To get the right sort order on an iPod (classic) I needed to set the "Titel für Sortierung" or "sort_name" to something similar than S01E01 ...

Dump from "ffprobe -show_entries 'stream_tags : format_tags'":

TAG:season_number=1
TAG:episode_sort=15
TAG:episode_id=15
TAG:date=2008
TAG:sort_name=015

Cheers
Tobias

Autoselect a Default Option

There are some instances where a video file will return multiple options. Is there an argument to select the first option by default?

README regex section for Windows

It would be helpful if the custom regex pattern section in the README pointed out that on Windows machines escaped-backslashes - double backslashes - must be used as the directory delimiter instead of single forward slashes. Using the current example, it would need to be written as such to work on Windows:
.*\(?.+)\Season (?\d+)\S\d+E(?\d+)

extended tagging on mkv - suggestions

autotag -t --extended-tagging "Smack the Pony - 1x02 - Episode 2.mkv"
The same with : "Silicon Valley - 01x01 - Minimum Viable Product.mkv"
There's only technical data added if the '-t' option is used alone. Even with extended tagging, there cpould be more data.
I write this with media server applications like Jellyfiin and Plex in mind.
The metadata includes the series name in the filename only. There's no cast, The 'Movie name' (episode title) is repeated.
I suggest the series title be included elsewhere than the filename. Major cast menbers hould be added and maybe the director.
Explicit instruction/example on doing batch mode would help. This example was done single file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.