Giter Club home page Giter Club logo

jellyfin-mpc-tampermonkey's Introduction

jellyfin-mpc-tampermonkey

Tampermonkey scripts to use MPC with Jellyfin

This works for me using Tampermonkey 4.18.1 on Firefox.

It generates and downloads an m3u file. You have to tell Firefox to open the file directly with MPC instead of saving the m3u.

the script using GM_xmlhttpRequest should work for the current release of MPC-HC. It bypasses errors with CORS.

The script using fetch works for me using the allow-origin header modified MPC.

I'm trying to refactor the code to use Jellyfin ApiClient.ajax calls instead of fetch.

Note: I had to do a PR on MPC to update the headers and allow CORS requests. The PR has been merged, but the script probably won't be able to update Jellyfin with MPC progress until the merged version of MPC is released.

Or you can compile it from my MPC repository.

I have no idea how any of this stuff works or what I'm doing.

jellyfin-mpc-tampermonkey's People

Contributors

backcountrymountains avatar

Stargazers

 avatar  avatar

Watchers

 avatar

jellyfin-mpc-tampermonkey's Issues

report play status back to jellyfin

My jellyfin is in a docker container on a seperate box. I have firefox opening the m3u file with MPC I have hte registry file and PS1 file in my c:\temp directory

but i cannot get it to report back to jellyfin the watch status.

I see a bunch of entries for localhost and wondering if htat needs to be pointed to JF?

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.