Giter Club home page Giter Club logo

Comments (6)

sqzw-x avatar sqzw-x commented on May 28, 2024 1

收到,会以某种方式加入此功能

from mdcx.

sqzw-x avatar sqzw-x commented on May 28, 2024
  1. 没找到 emby api 如何实现此功能,如果你有方法可以说一下
  2. 此功能的使用场景?另外我并不认为 emby 演员数据和用户相关,演员数据应该是全局存储的

from mdcx.

Maaafty avatar Maaafty commented on May 28, 2024
  1. 没找到 emby api 如何实现此功能,如果你有方法可以说一下
  2. 此功能的使用场景?另外我并不认为 emby 演员数据和用户相关,演员数据应该是全局存储的

1.我看了一下代码,应该是在拼emby的url的时候,跟api_key一样,把userid&上去,是否有效我还没有测试,但是我在另一个刮削演员信息的项目里有看到使用userid的
2.我的使用场景是正常电影一个user,小电影一个user,如果是全局扫的话,正常电影的演员也跟着扫了一遍

from mdcx.

sqzw-x avatar sqzw-x commented on May 28, 2024

我只有一个用户没法测试,你可以尝试以下操作,假设服务器地址是 127.0.0.1:8096,apikey 对应填入:

  1. 访问 http://127.0.0.1:8096/emby/Users/Query?api_key= 这将返回所有用户的信息
  2. 从返回值中获取对应 user 的 id
  3. 访问 http://127.0.0.1:8096/emby/Persons?UserId=&api_key=
  4. 看看是否仅返回该用户的影片演员

from mdcx.

Maaafty avatar Maaafty commented on May 28, 2024

我只有一个用户没法测试,你可以尝试以下操作,假设服务器地址是 127.0.0.1:8096,apikey 对应填入:

  1. 访问 http://127.0.0.1:8096/emby/Users/Query?api_key= 这将返回所有用户的信息
  2. 从返回值中获取对应 user 的 id
  3. 访问 http://127.0.0.1:8096/emby/Persons?UserId=&api_key=
  4. 看看是否仅返回该用户的影片演员

测试了一下,是可以通过user来筛选每个user对应的媒体库的演员的
图1:admin,获取所有媒体库的演员,我测试数据就两条
截屏2024-01-03 10 07 30
图2:9kg用户,只获取到属于用户自己媒体库里的演员
截屏2024-01-03 10 09 21
图3:normal用户,只获取到属于用户自己媒体库里的演员
截屏2024-01-03 10 10 55

from mdcx.

sqzw-x avatar sqzw-x commented on May 28, 2024

@Maaafty 你的 emby 内设置是怎样的,是通过 用户 - 访问 进行控制吗?我未能在 emby 上实现过滤

from mdcx.

Related Issues (20)

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.