Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with json request handling causes audio/video drops #1911

Closed
josebiro opened this issue Dec 10, 2012 · 2 comments
Closed

Problem with json request handling causes audio/video drops #1911

josebiro opened this issue Dec 10, 2012 · 2 comments

Comments

@josebiro
Copy link

JSON requests cause audio drops and video stutters while playing any video media, all file types and resolutions.

This problem effects the arm linux build before and up to beta3. Haven't tested other platforms.
hardware: pivos xios ds - ARMv7 amlogic meson-m1

Workaround for the problem is to disable programs making aggressive json requests - in my case it was the "Skin Widgets" service.

Sample log of an event that lead to a couple of audio drops in sequence:
14:40:10 T:1309320288 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetMovies", "params": {"properties": ["title", "playcount", "year", "genre", "studio", "tagline", "plot", "runtime", "file", "plotoutline", "lastplayed", "trailer", "rating", "resume", "art", "streamdetails"], "limits": {"end": 20}, "sort": {"method": "random" }, "filter": {"field": "playcount", "operator": "lessthan", "value": "1"}}}
14:40:10 T:1309320288 DEBUG: JSONRPC: Calling videolibrary.getmovies
14:40:14 T:1309320288 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetEpisodes", "params": { "properties": ["title", "playcount", "season", "episode", "showtitle", "plot", "file", "rating", "resume", "tvshowid", "art", "streamdetails"], "limits": {"end": 20}, "sort": {"method": "random" }, "filter": {"field": "playcount", "operator": "lessthan", "value": "1"}}}
14:40:14 T:1309320288 DEBUG: JSONRPC: Calling videolibrary.getepisodes
14:40:18 T:1309320288 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetMusicVideos", "params": {"properties": ["title", "artist", "playcount", "year", "plot", "genre", "runtime", "fanart", "thumbnail", "file", "streamdetails"], "limits": {"end": 20}, "sort": {"method": "random"}}}
14:40:18 T:1309320288 DEBUG: JSONRPC: Calling videolibrary.getmusicvideos
14:40:18 T:1309320288 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "AudioLibrary.GetAlbums", "params": {"properties": ["title", "description", "albumlabel", "artist", "genre", "year", "thumbnail", "fanart", "rating", "playcount"], "limits": {"end": 20}, "sort": {"method": "random"}}}
14:40:18 T:1309320288 DEBUG: JSONRPC: Calling audiolibrary.getalbums
14:40:20 T:1309320288 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "AudioLibrary.GetArtists", "params": {"properties": ["genre", "description", "fanart", "thumbnail"], "sort": {"method": "random"}, "limits": {"end": 20}}, "id": 1}
14:40:20 T:1309320288 DEBUG: JSONRPC: Calling audiolibrary.getartists
14:40:21 T:1102255200 DEBUG: CSoftAEStream::GetFrame - Underrun
14:40:22 T:1309320288 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "AudioLibrary.GetSongs", "params": {"properties": ["title", "playcount", "artist", "album", "year", "file", "thumbnail", "fanart", "rating"], "filter": {"field": "playcount", "operator": "lessthan", "value": "1"}, "limits": {"end": 20}, "sort": {"method": "random"}}}
14:40:22 T:1309320288 DEBUG: JSONRPC: Calling audiolibrary.getsongs
14:40:24 T:1102255200 DEBUG: CSoftAEStream::GetFrame - Underrun
14:40:29 T:1102255200 DEBUG: CSoftAEStream::GetFrame - Underrun
14:40:32 T:1309320288 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Addons.GetAddons", "params": {"properties": ["name", "author", "summary", "version", "fanart", "thumbnail"]}, "id": 1}
14:40:32 T:1309320288 DEBUG: JSONRPC: Calling addons.getaddons

@MartijnKaijser
Copy link
Member

Use the forum for issues

@josebiro
Copy link
Author

Just a comment for other noobs: stumbled across this post filing the issue. Sorry for the noise. Check this out before filing github issues.

http://forum.xbmc.org/showthread.php?tid=26707

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants