Comments (8)
Fixed by #16
from go-plex-client.
Thanks for your help!
from go-plex-client.
I'm trying to reproduce this, but every time I hit /status/sessions
endpoint it doesn't return a field with viewCount
. What version of plex are you running?
from go-plex-client.
Okay nvm. This is odd.
The endpoint /status/sessions
has a field that returns viewCount
as a string, but /search
returns viewCount
as an int. 😕
Guess we need a couple different versions of plex.Metadata
that have string and int 😞
from go-plex-client.
@jrudio oh man, shame on the plex developers for not keeping the API's consistent :(
Anyhow, is this something that you will be addressing or you need a hand?
from go-plex-client.
If you could lend a hand, that would be awesome!
from go-plex-client.
@jrudio let me know what you think about this:
https://play.golang.org/p/Dai2y3WnULq
seems like a really easy fix
from go-plex-client.
from go-plex-client.
Related Issues (20)
- Implement GetFromLibrary HOT 2
- Make timeout configurable for all HTTP calls HOT 2
- fail to build cli HOT 3
- convert message to json failed: json: cannot unmarshal string into Go struct field TranscodeSession.progress of type float64
- convert message to json failed: json: cannot unmarshal number into Go struct field Setting.default of type string
- Is this project abandoned? HOT 2
- 406 status code when trying to sign in
- "Cannot unmarshal object into Go value..." when displaying webhooks via cli
- GetSessions() - Fix metadata types HOT 1
- Fix error messages HOT 1
- Use Cloud Build to continually test the client against multiple Plex Media Server versions
- Downloads implementation HOT 5
- Ability to download with folder hierarchy HOT 4
- getLibraries returns nothing HOT 3
- json: cannot unmarshal number into Go struct field Metadata.MediaContainer.Metadata.ratingCount of type string HOT 10
- json: cannot unmarshal object into Go struct field SignInResponse.pastSubscriptions of type string HOT 1
- Add functions to wrap GET, DELETE /api/invites/requested APIs
- Clarification on usage of `SignIn`
- Is field "userRating" available ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-plex-client.