z411 / trackma

Open multi-site list manager for Unix-like systems. (ex-wMAL)
https://z411.github.io/trackma
GNU General Public License v3.0
775 stars 81 forks source link

Plex Tracker - State always "No Video" #464

Open frosty5689 opened 4 years ago

frosty5689 commented 4 years ago

Hi,

I've been having this issue where the Plex Tracker state is always "No Video" despite having media currently playing.

[anilist] (anime) watching >> tracker
- Tracker status -
State: No video
Filename: [HorribleSubs] PSYCHO-PASS 3 - 02 [1080p].mkv
Timer: N/A
Show: N/A

Wondering if there is a known isssue or fix for it.

Here's my config.json

{
    "auto_date_change": true,
    "auto_status_change": true,
    "auto_status_change_if_scored": true,
    "autoretrieve": "days",
    "autoretrieve_days": 3,
    "autosend": "minutes",
    "autosend_at_exit": true,
    "autosend_minutes": 15,
    "autosend_size": 5,
    "debug_disable_lock": true,
    "library_autoscan": false,
    "library_full_path": false,
    "player": "mpv",
    "plex_host": "****",
    "plex_obey_update_wait_s": false,
    "plex_passwd": "***",
    "plex_port": "32400",
    "plex_user": "***",
    "plex_uuid": "***",
    "scan_whole_list": false,
    "searchdir": [
        "~/Videos"
    ],
    "tracker_enabled": true,
    "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": 120,
    "use_hooks": true
}
katekyonni commented 4 years ago

Hey, I'm using your docker container frosty, thanks a lot! I had the same issue and it was fixed by using my user name instead of email address as "plex_user". The instructions for your docker container suggest to use an email as plex_user, maybe that could be changed to username if this solves the problem for you as well :)

frosty5689 commented 4 years ago

Thanks! I'll update the instructions for my Docker as well. I suspect this is a feature parity issue from Plex itself where their API returns different information depending on how you login. I remember disabling login by username at some point for better security, but never bothered to check if Trackma still worked as expected.

Edit: I have updated the README for my Docker repo and also updated latest tag to use latest Trackma master to take advantage of latest features that come out.