-
Notifications
You must be signed in to change notification settings - Fork 81
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
Plex Tracker Status "???” #706
Comments
After seeing the option to do so in another issue, I ran Trackma in debug mode, and it looks like it is working, but nothing actually happens? [D] Engine: Time: 271.5476825237274
[D] Engine: Initializing tracker...
Tracker (Plex): Initializing...
[D] Tracker (Plex): Enabling tracker...
Tracker (Plex): Using Plex.
Ready.
[D] Tracker (Plex): Guessing filename: Tokyo Revengers - 12 [Erai-raws] [www, 1080p, AAC] [C6341323].mkv
[D] Tracker (Plex): Show guess: Tokyo Revengers: {'id': 120120, 'title': 'TokyoRevengers', 'my_progress': 11, 'total': 24, 'type': None, 'titles': ['Tokyo Revengers', 'Tokyo Revengers', 'Tokyo Revengers', '?????????', '????', '??????????????????', '???????????????????', '?????', '????? ?????']} (12)
[D] Tracker (Plex): Guessing filename: Tokyo Revengers - 12 [Erai-raws] [www, 1080p, AAC] [C6341323].mkv
[D] Tracker (Plex): Same filename as before. Skipping. I've been using a version of this file naming structure for almost 15 years now, using AniDB's AniAdd with a script for its file renaming system. There have been some minor changes to the script and the resulting filename format over the years, like adding the file hash at the end for easy integrity checking, but not much has really changed, and it used to work with Trackma. The basic naming structure is just:
The folder part shouldn't even come into play, as I have "Take subdirectory into account" unchecked. It certainly looks like the series is properly identified, and, at least back when I was messing around with Trackma's tracker code a few years back, everything in square brackets was set to be automatically ignored, which seems to be convention among pretty much all the media identification system I've seen as well. The episode number also appears to be properly IDed, unless the (12) at the end isn't what it caught as an episode number. I'm guessing all the question marks in the 'titles' are the "native" and "synonym" titles in non-roman characters from Anilist that the Windows Command-line can't process:
The number of entries matches, at least. So, going by the debug data, Trackma seems to be getting the media data from Plex just fine, and is identifying the series and episode number properly. I'm not sure why the tracker status in Trackma-QT shows "???”, but it doesn't seem to be because of a problem with the tracker getting or parsing data. And yet, nothing is ever sent to Anilist. I can make manual changes in Trackma and see then reflected on Anilist, so there doesn't seem to be a problem with the connection, Trackma just isn't sending anything. Not quite sure where to go from here, but I'll keep looking. |
Thanks for the detailed description. It appears the Flex tracker is passing the filename fine and even guessing the correct show, so this is really weird. Could you try running Trackma through the CLI interface (just running |
I just started Trackma CLI in debug and began a full rescan about 15/20 minutes ago (I figured it couldn't hurt, and also, some series, like Akudama Drive, were showing as having no local files despite them being there), which will probably take a while with ~30TB to go through, using an old Core i5-2310. It's 9:27PM here, so I'll likely just let it run overnight, and then run and see what the tracker command says in the morning 👍 |
That's... a lot of time. Are you scanning all statuses or just Watching/Plan to Watch? |
I used the Since I have it running in debug, I can see it running, and it looks like it is just going episode by episode, folder by folder, drive by drive. I don't know exactly how long it will take, but when I started the initial scan with a fresh install, it was evening, and it was done by morning, so I'm guessing it will be the same here (I hope). |
Ok, that took slightly longer than expected, closer to 24 hours. But it finally finished. I ran Trackma CLI in debug, started watching, then gave it the [D] ←[0;32mEngine: Time: 86.31057024002075←[0m
[D] ←[0;32mEngine: Initializing tracker...←[0m
←[0;35mTracker (Plex): Initializing...←[0m
[D] ←[0;35mTracker (Plex): Enabling tracker...←[0m
←[0;35mTracker (Plex): Using Plex.←[0m
Ready. Type 'help' for a list of commands.
Press tab for autocompletion and up/down for command history.
Available statuses: watching, completed, rewatching, paused, dropped, plantowatch
☺←[0;32m☻PurposelyCryptic☺←[0m☻ [☺←[0;34m☻anilist☺←[0m☻] (☺←[0;33m☻anime☺←[0m☻)
←[0mwatching☺←[0m☻ >> [D] ←[0;35mTracker (Plex): Guessing filename: Tokyo Revengers - 19 [Erai-raws] [www, 1080p, AAC] [79110E16].mkv←[0m
[D] ←[0;35mTracker (Plex): Show guess: Tokyo Revengers: {'id': 120120, 'title':
'Tokyo Revengers', 'my_progress': 18, 'total': 24, 'type': None, 'titles': ['Tokyo Revengers', 'Tokyo Revengers', 'Tokyo Revengers', '?????????', '????', '??????????????????', '???????????????????', '?????', '????? ?????']} (19)←[0m
tracker
- Tracker status -
State: N/A
Filename: Tokyo Revengers - 19 [Erai-raws] [www, 1080p, AAC] [79110E16].mkv
Timer: N/A
Show: N/A
☺←[0;32m☻PurposelyCryptic☺←[0m☻ [☺←[0;34m☻anilist☺←[0m☻] (☺←[0;33m☻anime☺←[0m☻)←[0mwatching☺←[0m☻ >> [D] ←[0;35mTracker (Plex): Guessing filename: Tokyo Revengers - 19 [Erai-raws] [www, 1080p, AAC] [79110E16].mkv←[0m
[D] ←[0;35mTracker (Plex): Same filename as before. Skipping.←[0m
[D] ←[0;35mTracker (Plex): Guessing filename: Tokyo Revengers - 19 [Erai-raws] [www, 1080p, AAC][79110E16].mkv←[0m
[D] ←[0;35mTracker (Plex): Same filename as before. Skipping.←[0m So, it looks like it parses the filename correctly and properly identifies the series and episode, but none of that, or any watching progress information, is actually passed to the tracker, just the filename, so it ends up just sitting there not knowing what to do? At least, that's what it looks like to me. Why, is a whole different question, however. |
So, on the off chance this was some kind of weird communications issue, I tried the same thing over SSL - finding my plex.direct URL was an interesting adventure. Anyway, the tracker output was slightly different this time, for whatever reason: ☺←[0;32m☻PurposelyCryptic☺←[0m☻ [☺←[0;34m☻anilist☺←[0m☻] (☺←[0;33m☻anime☺←[0m☻)
←[0mwatching☺←[0m☻ >> [D] ←[0;35mTracker (Plex): Guessing filename: Dark Gatheri
ng - 02 [SubsPlease] [www, 1080p, AAC] [6A4600D5].mkv←[0m
[D] ←[0;35mTracker (Plex): Show guess: Dark Gathering: {'id': 152802, 'title': '
Dark Gathering', 'my_progress': 1, 'total': 25, 'type': None, 'titles': ['Dark G
athering', 'Dark Gathering', 'Dark Gathering', '?????????', '???????????????????
??????????']} (2)←[0m
[D] ←[0;35mTracker (Plex): Guessing filename: Dark Gathering - 02 [SubsPlease] [
www, 1080p, AAC] [6A4600D5].mkv←[0m
[D] ←[0;35mTracker (Plex): Same filename as before. Skipping.←[0m
tracker
- Tracker status -
State: No video
Filename: Dark Gathering - 02 [SubsPlease] [www, 1080p, AAC] [6A4600D5].mkv
Timer: N/A
Show: N/A
☺←[0;32m☻PurposelyCryptic☺←[0m☻ [☺←[0;34m☻anilist☺←[0m☻] (☺←[0;33m☻anime☺←[0m☻)
←[0mwatching☺←[0m☻ >> [D] ←[0;35mTracker (Plex): Guessing filename: Dark Gatheri
ng - 02 [SubsPlease] [www, 1080p, AAC] [6A4600D5].mkv←[0m
[D] ←[0;35mTracker (Plex): Same filename as before. Skipping.←[0m
[D] ←[0;35mTracker (Plex): Guessing filename: Dark Gathering - 02 [SubsPlease] [
www, 1080p, AAC] [6A4600D5].mkv←[0m So, we've gone from State: N/A to State: No Video. |
Just in case it helps somehow, here is my config file. I didn't see anything weird, but I may simply not know what to look for: {
"auto_date_change": true,
"auto_status_change": true,
"auto_status_change_if_scored": false,
"autoretrieve": "always",
"autoretrieve_days": 3,
"autosend": "always",
"autosend_at_exit": true,
"autosend_minutes": 60,
"autosend_size": 5,
"debug_disable_lock": true,
"jellyfin_api_key": "",
"jellyfin_apikey": "",
"jellyfin_host": "localhost",
"jellyfin_port": "8096",
"jellyfin_user": "",
"kodi_host": "localhost",
"kodi_obey_update_wait_s": false,
"kodi_passwd": "",
"kodi_port": "8080",
"kodi_user": "",
"library_autoscan": true,
"library_full_path": false,
"player": "",
"plex_host": "192-168-0-5.################################.plex.direct",
"plex_obey_update_wait_s": true,
"plex_passwd": "################",
"plex_port": "32400",
"plex_ssl": true,
"plex_user": "################@gmail.com",
"plex_uuid": "####################################",
"redirections_time": 1,
"redirections_url": "https://raw.githubusercontent.com/erengy/anime-relations/master/anime-relations.txt",
"scan_whole_list": false,
"searchdir": [
"N:/Media/Anime",
"O:/Media/Anime1",
"O:/Media/Anime",
"P:/Media/A",
"Q:/Media/Anime - TBF",
"R:/Media/Anime - TBF",
"S:/M/A",
"T:/Media/A",
"T:/Media/Anime - TBF",
"U:/M/A",
"N:/Media/A"
],
"tracker_enabled": true,
"tracker_ignore_not_next": false,
"tracker_interval": 10,
"tracker_not_found_prompt": false,
"tracker_process": "mplayer|mplayer2|mpv",
"tracker_type": "plex",
"tracker_update_close": false,
"tracker_update_prompt": false,
"tracker_update_wait_s": 60,
"use_hooks": true
} |
Any updates or progress on this? My expertise is sadly far too lacking to figure this out on my own. |
I plan to take a look at this, the information you provided is very helpful. Just keep in mind I didn't make the Plex tracker, and I don't maintain it. I don't use Plex either so that's why I haven't tested yet, but I'll test it myself since I've been wanting to try Plex for a while anyway. |
Thanks, I appreciate it - sorry for the very late response, I moved to another state and have been excessively busy and also very sick. I still haven't even found the box with my media server yet...😰 |
It's been a while since I last had a chance to mess with TrackMA (or anything on GitHub, really), so please forgive me if I'm missing something obvious. I'm on Windows, just FYI.
I started fresh with a new copy of the latest TrackMA release, added my account using Trackma-QT, added my all my library folders, after several crashes that were resolved by running the command-line version a couple times, was able to set the Tracker to Plex, and used the same host address (localhost) and port that I use to access Plex from my browser locally on the server.:
I got the 'claimed server' message, despite TrackMA running locally:
So I added my login information, and, according to the command line window, everything seems fine, but nothing is scrobbled, and in Trackma-QT, the tracker status is shown as "???", which doesn't even appear to be one of the options for status, going by a quick look at the plex tracker code:
Nothing is tracked or scrobbled, either. I tried changing the host address to the server's local static IP, but that did nothing, either. I then changed my Plex password to be alphanumeric except for a single '_', since Plex now requires at least one special character, based on past issues with TrackMA and special characters in Plex passwords, which caused TrackMA (CMD) and Trackma-QT to crash seconds after launching a few times, but that stopped now, too.
Really not sure where to look next, hence my opening this issue. I'm hoping it is something really simple and stupid that I overlooked, and I simply get laughed at and scolded for not realizing it. If that's the case, sorry for wasting everyone's time, and thanks in advance for letting me know.
The text was updated successfully, but these errors were encountered: