Git Product home page Git Product logo

tv-intro-detection's People

Contributors

cookie-monster-coder avatar dependabot[bot] avatar garrit-schroeder avatar garritschroeder0001 avatar mueslimak3r 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  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

tv-intro-detection's Issues

Can this skip outros too?

Maybe I'm talking crazy here but I like to be a bit more hands off with my remote while binge-watching. Is there anyway to add a json so that I could not only skip intros but outros too?

GPU decoding?

I know you're in the middle of retooling the app a bit but I believe there should be an option to use the GPU instead of CPU to run the intro detection. Not only it'll be faster but it'll also take less resources/electricity use of the computer. I ran this app and it usually takes days even on a i7 computer to finish.

timestamps sometimes incorrect and alternate between accurate and incorrect

Copied discussion from #7 by @Fallenbagel

Upon testing what I could for now, which is batman: the animated series, its now detecting the intro to start at 0:05:36 and end at 0:06:41 for some episodes whereas the actual intro starts at 0:00:00 and ends around 0:01:05. At first I thought it was just one mistake but it seems like every other episode is being misidentified thinking (some episodes seems to be identified correctly). I checked out the timestamps and there doesn't seem to be any identical footage there. Let me run the script again to confirm whether the same thing happens.

EDIT: nope. Same thing happening I wonder why thinking
Its literally doing it alternatively. 1st episode has the wrong, 2nd episode has the correct one, 3rd wrong, 4th correct, 5th wrong, 6th correct.....etc

Season 1

162330894-0349f843-0bfd-4418-92ed-dd7477ccf136

Network Drive Fix for Docker-Compose on Win10

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Create a docker Compose
---
version: "3.8"

volumes:
  mymount:
    name: Movies4You-NAS
    driver_opts:
      type: cifs
      o: "user=Guest,iocharset=utf8,vers=3.1.1,rw"
      device: \\192.168.1.111\Jellyfin-Media\
  myothermount:
    name: Movies4You-Server
    driver_opts:
      type: cifs
      o: "user=Guest,iocharset=utf8,vers=3.1.1,rw"
      device: \\192.168.1.119\Jellyfin-Media\

services:
  Jellyfin-Intro-Scanner:
    image: ghcr.io/mueslimak3r/jellyfin-intro-scanner:latest

    container_name: Jellyfin-Intro-Scanner
    environment:
      - JELLYFIN_URL=http://192.168.1.111:8096
      - JELLYFIN_USERNAME=ADMIN
      - JELLYFIN_PASSWORD=PASSWORD
      - PATH_MAP=/mnt/Movies4You-NAS/TV-Show::/Movies4You-NAS/TV,/mnt/Movies4You-Server/TV-Show::/Movies4You-Server/TV-Show,/mnt/x/TV-Show/::/jellyfin-x/TV-Show
      # - LOG_LEVEL=DEBUG
    volumes:
      - \\192.168.1.111\Jellyfin-Media\TV-Show:/mnt/Movies4You-NAS/TV-Show
      - \\192.168.1.119\Jellyfin-Media\TV-Show:/mnt/Movies4You-Server/TV-Show
      - /c/Tools/Jellyfin-Intro-Skip/config:/app/config
    restart: unless-stopped

  Jellyfin-Intro-Skipper:
    image: ghcr.io/mueslimak3r/jellyfin-intro-skipper:latest

    container_name: Jellyfin-Intro-Skipper
    environment:
      - JELLYFIN_URL=http://192.168.1.111:8096
      - JELLYFIN_USERNAME=ADMIN
      - JELLYFIN_PASSWORD=PASSWORD
    volumes:
      - /c/Tools/Jellyfin-Intro-Skip/config:/app/config
    restart: unless-stopped

Expected behavior
Wont run a scan of intros of all media in tv shows
Network drives are in
\192.168.1.111\Jellyfin-Media
\192.168.1.119\Jellyfin-Media
for both network shares tv shows are in
\192.168.1.111\Jellyfin-Media\TV-Show
\192.168.1.119\Jellyfin-Media\TV-Show
Additional context
Add any other context about the problem here.

Skipping shows with reason - "failed to access some of the media files"

Describe the bug
jellyfin.py is skipping shows with reason "failed to access some of the media files". All the dependencies are installed for jellyfin.py and python version requirement is met.

To Reproduce
Steps to reproduce the behavior:

  1. Export the credentials and url
  2. start jellyfin.py with arguments "-j -v -l -d"
  3. See error

Logs
ira@ira:~/tv-intro-detection$ ./jellyfin.py -j -v -l -d

started new session at 2022-06-21 09:15:20.546242

path maps: []
jellyfin has 36 shows
skipping season [Season 1] of show [Ms. Marvel] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ms. Marvel (2022)/Season 1/Ms. Marvel - S01E01 - Generation Why WEBDL-1080p.mkv]
skipping season [Season 1] of show [Great Pretender] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Great Pretender (2020)/Season 1/Great Pretender - S01E01 - Case 1_1 - Los Angeles Connection HDTV-1080p.mkv]
skipping season [Season 2] of show [Great Pretender] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Great Pretender (2020)/Season 2/Great Pretender - S02E01 - Case 4_1 - Wizard of Far East HDTV-1080p.mkv]
skipping season [Season 1] of show [Mushoku Tensei: Jobless Reincarnation] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Mushoku Tensei - Jobless Reincarnation (2021)/Season 1/Mushoku Tensei - Jobless Reincarnation - S01E01 - Jobless Reincarnation HDTV-1080p Proper.mkv]
skipping season [Season 1] of show [Moon Knight] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Moon Knight (2022)/Season 1/Moon Knight - S01E01 - TBA WEBDL-1080p.mkv]
skipping season [Season 1] of show [Westworld] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Westworld (2016)/Season 1/Westworld - S01E01 - The Original Bluray-1080p.mkv]
skipping season [Season 2] of show [Westworld] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Westworld (2016)/Season 2/Westworld - S02E01 - Journey into Night Bluray-1080p.mkv]
skipping season [Season 3] of show [Westworld] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Westworld (2016)/Season 3/Westworld - S03E01 - Parce Domine Bluray-1080p.mkv]
skipping season [Season 1] of show [Narcos] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Narcos (2015)/Season 1/Narcos - S01E01 - Descenso Bluray-1080p.mp4]
skipping season [Season 2] of show [Narcos] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Narcos (2015)/Season 2/Narcos - S02E01 - Free at Last Bluray-1080p.mp4]
skipping season [Season 3] of show [Narcos] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Narcos (2015)/Season 3/Narcos - S03E01 - The Kingpin Strategy Bluray-1080p.mp4]
skipping season [Season 1] of show [Sherlock] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Sherlock (2010)/Season 1/Sherlock - S01E01 - A Study in Pink Bluray-1080p.mkv]
skipping season [Season 2] of show [Sherlock] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Sherlock (2010)/Season 2/Sherlock - S02E01 - A Scandal in Belgravia Bluray-1080p.mkv]
skipping season [Season 3] of show [Sherlock] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Sherlock (2010)/Season 3/Sherlock - S03E01 - The Empty Hearse Bluray-1080p.mkv]
skipping season [Season 4] of show [Sherlock] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Sherlock (2010)/Season 4/Sherlock - S04E01 - The Six Thatchers Bluray-1080p.mkv]
skipping season [Season 1] of show [Stranger Things] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Stranger Things (2016)/Season 1/Stranger Things - S01E01 - Chapter One - The Vanishing of Will Byers Bluray-1080p.mkv]
skipping season [Season 2] of show [Stranger Things] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Stranger Things (2016)/Season 2/Stranger Things - S02E01 - Chapter One - MADMAX Bluray-1080p.mkv]
skipping season [Season 3] of show [Stranger Things] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Stranger Things (2016)/Season 3/Stranger Things - S03E01 - Chapter One - Suzie, Do You Copy WEBDL-1080p.mkv]
skipping season [Season 4] of show [Stranger Things] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Stranger Things (2016)/Season 4/Stranger Things - S04E01 - Chapter One - The Hellfire Club WEBDL-1080p.mkv]
skipping season [Season 1] of show [True Detective] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/True Detective (2014)/Season 1/True Detective - S01E01 - The Long Bright Dark Bluray-1080p.mkv]
skipping season [Season 2] of show [True Detective] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/True Detective (2014)/Season 2/True Detective - S02E01 - The Western Book of the Dead Bluray-1080p.mkv]
skipping season [Season 3] of show [True Detective] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/True Detective (2014)/Season 3/True Detective - S03E01 - The Great War and Modern Memory Bluray-1080p.mkv]
skipping season [Season 1] of show [Mindhunter] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/MINDHUNTER (2017)/Season 1/MINDHUNTER - S01E01 - Episode 1 WEBRip-1080p.mkv]
skipping season [Season 2] of show [Mindhunter] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/MINDHUNTER (2017)/Season 2/MINDHUNTER - S02E01 - Episode 1 WEBDL-1080p.mkv]
skipping season [Season 1] of show [The Falcon and the Winter Soldier] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/The Falcon and the Winter Soldier (2021)/Season 1/The Falcon and the Winter Soldier - S01E01 - New World Order WEBDL-1080p Proper.mkv]
skipping season [Season 1] of show [WandaVision] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/WandaVision (2021)/Season 1/WandaVision - S01E01 - Filmed Before a Live Studio Audience WEBDL-1080p.mkv]
skipping season [Season 1] of show [Hawkeye] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Hawkeye (2021)/Season 1/Hawkeye (2021) - S01E01 - Never Meet Your Heroes WEBDL-1080p.mkv]
skipping season [Season 1] of show [Loki] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Loki (2021)/Season 1/Loki - S01E01 - Glorious Purpose WEBRip-1080p Proper.mkv]
skipping season [Season 1] of show [Invincible] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Invincible (2021)/Season 1/Invincible (2021) - S01E01 - IT’S ABOUT TIME WEBDL-1080p Proper.mkv]
skipping season [Season 1] of show [Upload] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Upload (2020)/Season 1/Upload - S01E01 - Welcome to Upload WEBDL-1080p Proper.mkv]
skipping season [Season 2] of show [Upload] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Upload (2020)/Season 2/Upload - S02E01 - Welcome Back, Mr. Brown WEBDL-1080p.mkv]
skipping season [Season 1] of show [Beyblade: Metal Fusion] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Metal Fight Beyblade (2009)/Season 01/Episode S01E01.MP4]
skipping season [Season 2] of show [Beyblade: Metal Fusion] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Metal Fight Beyblade (2009)/Season 02/Episode S02E01.MP4]
skipping season [Season 3] of show [Beyblade: Metal Fusion] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Metal Fight Beyblade (2009)/Season 03/Episode S03E01.MP4]
skipping season [Season 4] of show [Beyblade: Metal Fusion] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Metal Fight Beyblade (2009)/Season 04/Episode S04E01.mkv]
skipping season [Season 1] of show [House of Cards] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/House of Cards (2013)/Season 1/House.of.Cards.2013.S01E01.720p.BluRay.2CH.x265.HEVC.Dubbed.FA-[My-Film].mkv]
skipping season [Season 2] of show [House of Cards] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/House of Cards (2013)/Season 2/House.of.Cards.2013.S02E01.720p.BluRay.2CH.x265.HEVC.Dubbed.FA-[My-Film].mkv]
skipping season [Season 3] of show [House of Cards] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/House of Cards (2013)/Season 3/House.of.Cards.2013.S03E01.720p.BluRay.2CH.x265.HEVC.Dubbed.FA-[My-Film].mkv]
skipping season [Season 4] of show [House of Cards] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/House of Cards (2013)/Season 4/House.of.Cards.2013.S04E01.720p.BluRay.2CH.x265.HEVC.Dubbed.FA-[My-Film].mkv]
skipping season [Season 5] of show [House of Cards] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/House of Cards (2013)/Season 5/House.of.Cards.2013.S05E01.720p.WEBRip.2CH.x265.HEVC-[My-Film].mkv]
skipping season [Season 6] of show [House of Cards] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/House of Cards (2013)/Season 6/house.of.cards.s06e01.720p.bluray.x264-pahe.in.mkv]
skipping season [Season 1] of show [Ben 10: Omniverse] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 Omniverse (2012)/Season 01/Episode S01E01.mkv]
skipping season [Season 2] of show [Ben 10: Omniverse] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 Omniverse (2012)/Season 02/Episode S02E01.mkv]
skipping season [Season 3] of show [Ben 10: Omniverse] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 Omniverse (2012)/Season 03/Episode S03E01.mkv]
skipping season [Season 4] of show [Ben 10: Omniverse] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 Omniverse (2012)/Season 04/Episode S04E01.mp4]
skipping season [Season 5] of show [Ben 10: Omniverse] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 Omniverse (2012)/Season 05/Episode S05E01.mkv]
skipping season [Season 6] of show [Ben 10: Omniverse] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 Omniverse (2012)/Season 06/Episode S06E01.mkv]
skipping season [Season 7] of show [Ben 10: Omniverse] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 Omniverse (2012)/Season 07/Episode S07E01.mkv]
skipping season [Season 8] of show [Ben 10: Omniverse] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 Omniverse (2012)/Season 08/Episode S08E01.mkv]
skipping season [Season 1] of show [Ben 10: Ultimate Alien] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 Ultimate Alien (2010)/Season 01/Episode S01E01.mp4]
skipping season [Season 2] of show [Ben 10: Ultimate Alien] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 Ultimate Alien (2010)/Season 02/Episode S02E01.mp4]
skipping season [Season 3] of show [Ben 10: Ultimate Alien] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 Ultimate Alien (2010)/Season 03/Episode S03E01.mp4]
skipping season [Season 1] of show [Ben 10: Alien Force] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 - Alien Force (2008)/Season 1/Ben 10 - Alien Force - S01E01 - Ben 10 Returns (1) HDTV-720p.mp4]
skipping season [Season 2] of show [Ben 10: Alien Force] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 - Alien Force (2008)/Season 2/Ben 10 - Alien Force - S02E01 - Darkstar Rising HDTV-720p.mp4]
skipping season [Season 3] of show [Ben 10: Alien Force] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 - Alien Force (2008)/Season 3/Ben 10 - Alien Force - S03E01 - Vengeance of Vilgax (1) HDTV-720p.mp4]
skipping season [Season 1] of show [Ben 10] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 (2005)/Season 01/Episode S01E01.mp4]
skipping season [Season 2] of show [Ben 10] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 (2005)/Season 02/Episode S02E01.mp4]
skipping season [Season 3] of show [Ben 10] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 (2005)/Season 03/Episode S03E01.mp4]
skipping season [Season 4] of show [Ben 10] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Ben 10 (2005)/Season 04/Episode S04E01.mp4]
skipping season [Season 1] of show [The Rising of the Shield Hero] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/The Rising of the Shield Hero (2019)/Season 1/The Rising of the Shield Hero - S01E01 - The Shield Hero Bluray-1080p.mkv]
skipping season [Season 2] of show [The Rising of the Shield Hero] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/The Rising of the Shield Hero (2019)/Season 2/The Rising of the Shield Hero - S02E01 - A New Roar HDTV-1080p.mkv]
skipping season [Season 1] of show [The Witcher] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/The Witcher (2019)/Season 1/The Witcher - S01E01 - The End's Beginning WEBDL-1080p REAL.mkv]
skipping season [Season 2] of show [The Witcher] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/The Witcher (2019)/Season 2/The Witcher - S02E01 - A Grain of Truth WEBDL-1080p.mkv]
skipping season [Season 1] of show [My Hero Academia] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/My Hero Academia (2016)/Season 1/[Judas] Boku no Hero Academia S1 - 01.mkv]
skipping season [Season 2] of show [My Hero Academia] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/My Hero Academia (2016)/Season 2/My Hero Academia - S02E01 - That's the Idea, Ochaco Bluray-1080p.mkv]
skipping season [Season 3] of show [My Hero Academia] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/My Hero Academia (2016)/Season 3/My Hero Academia - S03E01 - Game Start WEBDL-1080p.mkv]
skipping season [Season 4] of show [My Hero Academia] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/My Hero Academia (2016)/Season 4/My Hero Academia - S04E01 - The Scoop on U.A. Class 1-A HDTV-1080p.mkv]
skipping season [Season 5] of show [My Hero Academia] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/My Hero Academia (2016)/Season 5/My Hero Academia - S05E01 - All Hands on Deck! Class 1-A WEBRip-1080p.mkv]
skipping season [Season 1] of show [What If...?] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/What If…! (2021)/Season 1/What If…! - S01E01 - What If… Captain Carter Were The First Avenger WEBDL-1080p Proper.mkv]
skipping season [Season 1] of show [Tokyo Revengers] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Tokyo Revengers (2021)/Season 1/Tokyo Revengers - S01E01 - Reborn WEBRip-1080p.mkv]
skipping season [Season 1] of show [Peacemaker] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/Peacemaker (2022)/Season 1/Peacemaker - S01E01 - A Whole New Whirled WEBDL-1080p.mkv]
skipping season [Season 1] of show [That Time I Got Reincarnated as a Slime] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/That Time I Got Reincarnated as a Slime/Season 1/That Time I Got Reincarnated as a Slime - S01E01 - The Storm Dragon, Veldora HDTV-1080p.mkv]
skipping season [Season 2] of show [That Time I Got Reincarnated as a Slime] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/That Time I Got Reincarnated as a Slime/Season 2/[Anime Time] Tensei Shitara Slime Datta Ken (That Time I Got Reincarnated as a Slime) - S02E01 [1080p][HEVC 10bit x265][AAC][Multi Sub].mkv]
skipping season [Season 1] of show [Overlord] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Overlord/Season 1/Overlord - S01E01 - End and Beginning Bluray-1080p.mkv]
skipping season [Season 2] of show [Overlord] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Overlord/Season 2/Overlord - S02E01 - The Dawn of Despair HDTV-1080p.mkv]
skipping season [Season 3] of show [Overlord] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Overlord/Season 3/Overlord - S03E01 - A Ruler's Melancholy HDTV-1080p.mkv]
skipping season [Season 1] of show [Cautious Hero: The Hero Is Overpowered but Overly Cautious] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Cautious Hero - The Hero Is Overpowered but Overly Cautious/Season 1/Cautious Hero - The Hero Is Overpowered but Overly Cautious - S01E01 - This Hero is Too Cautious HDTV-1080p.mp4]
skipping season [Specials] of show [The Boys] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/The Boys/Specials/The Boys - S00E01 - Butcher - A Short Film Bluray-1080p.mkv]
skipping season [Season 1] of show [The Boys] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/The Boys/Season 1/The Boys - S01E01 - The Name of the Game HDTV-1080p.mkv]
skipping season [Season 2] of show [The Boys] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/The Boys/Season 2/The Boys - S02E01 - The Big Ride Bluray-1080p.mkv]
skipping season [Season 3] of show [The Boys] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/The Boys/Season 3/The Boys - S03E01 - Payback WEBDL-1080p.mkv]
skipping season [Season 1] of show [One-Punch Man] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/One-Punch Man/Season 1/One-Punch Man - S01E01 - The Strongest Man HDTV-1080p.mkv]
skipping season [Season 2] of show [One-Punch Man] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/One-Punch Man/Season 2/One-Punch Man - S02E01 - Return of the Hero HDTV-1080p.mkv]
skipping season [Season 1] of show [The Wheel of Time] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Series/The Wheel of Time/Season 1/The Wheel of Time - S01E01 - Leavetaking WEBDL-1080p.mkv]
skipping season [Season 1] of show [Attack on Titan] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Attack on Titan/Season 1/Attack on Titan - S01E01 - To You, in 2000 Years - The Fall of Shiganshina (1) Bluray-1080p.mkv]
skipping season [Season 2] of show [Attack on Titan] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Attack on Titan/Season 2/Attack on Titan - S02E01 - Beast Titan HDTV-1080p.mkv]
skipping season [Season 3] of show [Attack on Titan] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Attack on Titan/Season 3/Attack on Titan - S03E01 - Smoke Signal WEBDL-1080p.mkv]
skipping season [Season 4] of show [Attack on Titan] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Attack on Titan/Season 4/Attack on Titan - S04E01 - The Other Side of the Sea Bluray-1080p.mkv]
skipping season [Season 1] of show [Demon Slayer: Kimetsu no Yaiba] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Demon Slayer - Kimetsu no Yaiba/Season 1/Demon Slayer - Kimetsu no Yaiba - S01E01 - Cruelty HDTV-1080p.mkv]
skipping season [Season 2] of show [Demon Slayer: Kimetsu no Yaiba] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Demon Slayer - Kimetsu no Yaiba/Season 2/Demon Slayer - Kimetsu no Yaiba - S02E01 - Flame Hashira Kyojuro Rengoku HDTV-1080p v2.mkv]
skipping season [Season 3] of show [Demon Slayer: Kimetsu no Yaiba] - failed to access some of the media files
path for the first episode [/srv/dev-disk-by-uuid-17103653-6aa7-4f33-8fa1-05e4a6c231e1/Media/Anime/Demon Slayer - Kimetsu no Yaiba/Season 3/Demon Slayer - Kimetsu no Yaiba - S03E01 - Sound Hashira Tengen Uzui HDTV-1080p.mkv]
--<[ session/140671907730096 ]
found 0 qualifying shows
found 0 qualifying seasons
found 0 qualifying episodes

total runtime: 0:00:09.575107
sleeping for 300 seconds

SyntaxError: invalid syntax in "jellyfin_auto_skip.py"

Describe the bug

SyntaxError: invalid syntax
  File "jellyfin_auto_skip.py", line 165
    match g_monitor_all_users:
          ^

To Reproduce
Steps to reproduce the behavior:

  1. Pull the latest jellyfin-intro-skipper image
  2. Launch it
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Can I use your script like so?

This is not really a BUG report, it's more a question. I'm working on a VoD white label product. The last feature my player is missing, is the Skip Intro feature. Now I came across your nice script and I have to say that it really does not fit my implementation as it's all basically embedded into a Django Rest Application.

My Idea is to first save the hash for each of my videos during my normal import workflow I already have. Afterward, I have the hash of each of my clips inside my Database. Now if the user plays episode 3 for example, I would simply compare the hash from episode 3 with the hash of episode 4 or 2. Is this theoretically working with your code?

Can you tell me, in what function you create the hash and in which you compare it with the other, basically this is everything I need (I guess).

Many thanks in advance, and also thanks for your work, really appreciate that.

[Feature Request] Audio fingerprinting

Is your feature request related to a problem? Please describe.
I was wondering wouldn't it be better if audio fingerprinting is used instead of the hash method? It would be faster then.

Describe the solution you'd like
I have tested an audio fingerprinting method and it seems to identify the intros in less than a minute and seems to be fairly accurate. In addition, it also solves the issue of the shows with different intro visuals but same audio.

There is an audio fingerprinting script written in go called (matcher) and I used this after extracting 10 minutes of the video file to find the timestamps. What took 8 minutes with hash matching, was reduced to less than a minute for a whole show. I have looked into incorporating the matcher script with the current python script and have gone over two methods: either reverse-engineering (which sounds to be more complicated) or the easier method of incorporating the go script into the current python script instead of the image hashing.

Just a suggestion to go over, no pressure c:

Ignore certain series?

Anyway to get this to ignore a certain series. Some series in my folder are just sports shows and game shows really and I don't need to skip the intros of that. I don't keep them often in my drive so its usually just one or two. I would like for this tool to skip that in order to not waste any time processing...

[Feature request] Skipping corrupt files and moving on to the next season.

Is your feature request related to a problem? Please describe.
Having a corrupt file throws an error and restarts script.

creating new fingerprint for [/Media/Tv/Strike Back (2010)/Season 06/Strike Back (2010)-S06E09-Episode 9 [Bluray-1080p] [x264 DTS]-SbR.mkv]
running ffmpeg
ran ffmpeg in 0:00:21.128079
Traceback (most recent call last):
  File "/app/jellyfin.py", line 262, in <module>
    main(sys.argv[1:])
  File "/app/jellyfin.py", line 250, in main
    process_jellyfin_shows(log_level, log, save_json)
  File "/app/jellyfin.py", line 193, in process_jellyfin_shows
    result = process_directory(file_paths=file_paths, cleanup=False, log_level=log_level, log_file=log_file, log_timestamp=session_timestamp)
  File "/app/decode.py", line 361, in process_directory
    fingerprint, profile = get_or_create_fingerprint(file_path, cleanup, log_level, log_file)
  File "/app/decode.py", line 124, in get_or_create_fingerprint
    fingerprint = create_video_fingerprint(profile, log_level, log_file)
  File "/app/decode.py", line 76, in create_video_fingerprint
    video_fingerprint = get_fingerprint_ffmpeg(profile['path'], quarter_frames_or_first_X_mins, log_level, log_file, session_timestamp)
  File "/app/ffmpeg_fingerprint.py", line 74, in get_fingerprint_ffmpeg
    with Image.open(filename) as image:
  File "/usr/local/lib/python3.10/site-packages/PIL/Image.py", line 2953, in open
    fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: './config/data/fingerprints/MediaTvStrikeBack2010Season06StrikeBack2010S06E09Episode9Bluray1080px264DTSSbRmkv/frames/frame-00005642.jpeg'
started new session at 2022-04-02 17:17:58.394109

Describe the solution you'd like
Instead of auto restarting the script and having it reprocess the same corrupt file again (basically stuck in a loop), log the file that caused the issues in a new log file ex: error.log and either skip that season or series as a whole and move on to the next season/series.

User can the fix the files in error.log and the next time they launch the script it will reprocess that season.

This is going to be useful for people who have large library's.

Describe alternatives you've considered
Creating a script using ffmpeg to find corrupt video file. This alone is waste full.

Additional context
Add any other context or screenshots about the feature request here.

Windows Filesystem fix for Windows WSL Setup

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. pip install -r requirments.txt inside wsl2 Ubuntu 20.04
  2. edit the config in C:\Tools\tv-intro-detection\config\path_map.txt to show /mnt/j/TV-Shows : /mnt/m/TV-Shows
  3. export JELLYFIN_URL="http://192.168.1.111:8096" && export JELLYFIN_USERNAME="username" && export JELLYFIN_PASSWORD="mypassword"
  4. python3 jellyfin.py -j -d -l

Expected behavior
Runs through all tv shows in the directories specified in path_map.txt

Additional context
Errors on read because of windows Filesystems

63/190 - Blue's Clues
1/5 - Season 1 - 2 episodes
started at 2022-04-04 21:01:55.434579
Check Frame: 10

input files invalid or cannot be accessed
no results - the decoder may not have access to the specified media files
processed season [Season 1] in 0:00:00.016687
Received signal: 2
will stop
processed show [Blue's Clues] in 0:00:02.024777
total runtime: 0:05:49.727606

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.