axelmierczuk / sportyfin

A way to scrape sports streams for use with Jellyfin.
MIT License
60 stars 11 forks source link

Specify file "location" in addition to "destination" #2

Open Albuca opened 2 years ago

Albuca commented 2 years ago

Hello!

Might be a bit of an edge case/weird setup, and if its not workable -- no worries!

All of my media is stored on a linux server, however my Jellyfin instance runs on a windows machine (as it has more computing oomf). Ideally, I would like to run Sportyfin on my linux box as a Cron job along with my other self-hosted projects. I have my linux box mounted as a network drive in Windows -- so Jellyfin can access the files on the linux server.

The issue I run into, is that the xmltv file indicates the images are stored where the script put the files (in linux) - which isn't the same file path in Windows.

What would be ideal, is if I could specify to the script where the files can be "located" by Jellyfin - which is different than where the script's output/destination is specified.

e.g. output script files to /media/sportyfin but the created xmltv files say they are actually located at Z:\sportyfin python3 -m sportyfin -a -s -v -o /media/sportyfin -l z:\sportyfin

Cheers, and thanks for your work on this project!

axelmierczuk commented 2 years ago

Thats actually an awesome use case. I will keep this issue open while I work on it! For now I think best case would be to manually edit the files.

Albuca commented 2 years ago

Right on -- happy to hear it's well received!