Jump to content

Search the Community

Showing results for tags 'Api'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android
    • Android TV / Fire TV
    • Windows & Xbox
    • Apple iOS / macOS
    • Apple TV
    • Kodi
    • LG Smart TV
    • Linux & Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Ember for Emby
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Testing Area
    • WMC UI (Beta)
  • Other
    • Non-Emby General Discussion
    • Developer API
    • Hardware
    • Media Clubs

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. Hi all! I'm developing a client for RTI XP Processor. One of the task is media library folder browsing. First, I get top level views by using <'/Users/' + userId + '/Views'> API Next I try to navigate down thru folders using <'/Users/' + userId + '/Items?parentId='+ parentId> API getting parent folder id from currently opened view. On my development installation I get next subfolders of top level Movies: Resume Latest Movies Collections Favorites Genres And it is expected. On client server before it worked the same, but now it is changed to just return flat movies list. Why I get such different behavior and how I can obtain the stable views browsing? My server: Version 3.0.5912.0 Client server: Version 3.0.5913.0 Thanks and regards Alexander Altshuler
  2. Hello, I'm trying to use the Java API to convert M3U playlists into Emby. The API attempts to do this with an HTTP GET, while the API does a POST. Create Playlist via web GUI: =========================== http://000.000.000.001:8096/emby/Playlists?Name=TestEmbyGui&Ids=8917e95272fb6aba425df1d2179a836c&userId=803643a6650847721111a960eeeebc7f Request.HttpMethod: GET Request.PathInfo: /emby/Playlists Request.QueryString: Name=TestEmbyGui&Ids=8917e95272fb6aba425df1d2179a836c&userId=803643a6650847721111a960eeeebc7f Request.RawUrl: /emby/Playlists?Name=TestEmbyGui&Ids=8917e95272fb6aba425df1d2179a836c&userId=803643a6650847721111a960eeeebc7f Create Playlist via API: ======================== Sending 'POST' request to URL : http://000.000.000.001:8096/emby/Playlists/?UserId=803643a6650847721111a960eeeebc7f&Ids=5b4e882625803ea3c0daa10a8696ad87%2C85af84ce364e80c2b359c3e46ff65a67&Name=embyTest&format=json Post parameters : [userId=803643a6650847721111a960eeeebc7f, format=json, Ids=5b4e882625803ea3c0daa10a8696ad87,2C85af84ce364e80c2b359c3e46ff65a67, Name=embyTest] Response Code : 400 Result : {"ResponseStatus":{"ErrorCode":"ArgumentException","Message":"No item exists with the supplied Id","StackTrace":"[CreatePlaylist: 01/24/2016 20:46:20]:\n[REQUEST: {Name:embyTest,Ids:\"5b4e882625803ea3c0daa10a8696ad87,2C85af84ce364e80c2b359c3e46ff65a67\",UserId:803643a6650847721111a960eeeebc7f}]\nSystem.ArgumentException: No item exists with the supplied Id\n at MediaBrowser.Server.Implementations.Playlists.PlaylistManager+<CreatePlaylist>c__async0.MoveNext () <0x8167b5df0 + 0x00342> in <filename unknown>:0 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x8167d8f50 + 0x00038> in <filename unknown>:0 \n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x8167d8b90 + 0x00118> in <filename unknown>:0 \n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x8167d8ac0 + 0x000b3> in <filename unknown>:0 \n at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x808a01030 + 0x00042> in <filename unknown>:0 \n at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x808a8f540 + 0x0001f> in <filename unknown>:0 \n at MediaBrowser.Api.PlaylistService+<Post>c__async0.MoveNext () <0x8167b51f0 + 0x0052f> in <filename unknown>:0 ","Errors":[]}} What needs to be done with the Ids to get the API to recognize them? I'm currently doing this to get the Ids from the Library DB: bytes = rs.getBytes("guid"); etbi.setGuidId(asUuid(bytes).toString().replaceAll("-", "")); When I query using the guid from the web gui attempt to create a playlist - I get no rows: 0 rows returned in 0ms from: select * from TypedBaseItems where guid = X'8917e95272fb6aba425df1d2179a836c' ; Appreciate any help. Running Emby on FreeNAS 9.3 host.
  3. Hello, Having issue trying to create a playlist via the java API. Can connect ok and get the access token, but seems to fail on the format of the Ids. Post parameters : [userId=319543a665084772bb4449608882bc7f, format=json, MediaType=Audio, Ids=5b4e8826-2580-3ea3-c0da-a10a8696ad87,2C85af84ce-364e-80c2-b359-c3e46ff65a67, Name=embyTest] Result : {"ResponseStatus":{"ErrorCode":"FormatException","Message":"Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)." Full content of POST and server response is attached. Appreciate any help. log4j-application_save.log
  4. Damstas

    API for fanArt with LiveTV

    Is there an API to use that allows fanArt from Schedules Direct to be used in LiveTV sections, in similar way to what library items have? Like in this pic https://flic.kr/p/C1dDBg
  5. Added an album today prechecked by picard so all tags were perfect. MB3 submitted an identification query to mbz (as shown in logs) which returns a specific correct result (when i tested it) and yet the album remains unidentified in MB3. More strangley MB3 must have been aware on some level of the correct response as further fetching is performed on the studio and release group in the response...and yet the album remains unidentified in dashboard. Version 3.0.5531.24408 album:we are undone, artist:two gallants the correct query in logs, returnid correct mbz ids 2015-02-26 09:13:17.4155 Info - App: HttpClientManager GET: http://www.musicbrainz.org/ws/2/release/?query="We+Are+Undone" AND artist:"" audiodb query on release group id..oddly prior to log of mbz query 2015-02-26 09:06:49.0711 Info - App: HttpClientManager GET: http://www.theaudiodb.com/api/v1/json/49jhsf8248yfahka89724011/album-mb.php?i=28fcc495-9e80-4095-928d-b997c2f3cbfa refresh of studio oddly prior to log of mbz query 2015-02-26 09:07:28.2779 Debug - App: Running FanartArtistProvider for \\Q6600\Music\Two Gallants 2015-02-26 09:07:29.5395 Debug - App: Running StudiosImageProvider for E:\MediaBrowser\IBN\Studio\ATO Records the full log https://dl.dropboxusercontent.com/u/84611964/server-63560507678.txt my uneducated conclusion is that mb3 definitely did search for this album and find it on mbz and yet did not commit this information to database. issues with album identification is not an isolated incident. I have purposefully not manually identified this album..so to test further suggestions. edit interestingly the studio was commited to the album...
  6. Can anyone give me an example how to request json data from the api in a http url?
  7. Version 3.0.5459.41325 I wondered why MB3 could not identify an album correctly. the logs suggests MB3 is not searching MBZ specifically enough 2014-12-13 15:55:28.2005 Info - App: HttpClientManager GET: http://www.musicbrainz.org/ws/2/release/?query="Heroes" AND artist:"" Adding the Album Artist from ffprobe on track1 (is this what mb3 uses for album searches?) into the search, the album is identified and the distinct xml returned. D:\ffbrobetest>ffprobe.exe -i file:"\\Q6600\Music\Willie Nelson\(2012) Heroes\01 . A Horse Called Music.mp3" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format ffprobe version N-67521-g48efe9e Copyright (c) 2007-2014 the FFmpeg developers built on Nov 11 2014 01:15:40 with gcc 4.9.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca -- enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable- libx265 --enable-libxavs --enable-libxvid --enable-zlib libavutil 54. 11.100 / 54. 11.100 libavcodec 56. 12.100 / 56. 12.100 libavformat 56. 12.103 / 56. 12.103 libavdevice 56. 2.100 / 56. 2.100 libavfilter 5. 2.103 / 5. 2.103 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 { Input #0, mp3, from 'file:\\Q6600\Music\Willie Nelson\(2012) Heroes\01. A Horse Called Music.mp3': Metadata: album : Heroes artist : Willie Nelson;Merle Haggard album_artist : Willie Nelson copyright : catz MusicBrainz Album Status: official genre : Country compilation : 1 TMED : CD TORY : 2012 publisher : Legacy title : A Horse Called Music track : 1 MusicBrainz Album Release Country: GB artist-sort : Nelson, Willie with Haggard, Merle TSO2 : Nelson, Willie SCRIPT : Latn MusicBrainz Album Type: album MusicBrainz Album Artist Id: 668fd73c-bf54-4310-a139-305517f05311 MusicBrainz Artist Id: 668fd73c-bf54-4310-a139-305517f05311/deb2448c-6fdf-4d 31-921e-757630515dbd BARCODE : 886919604825 CATALOGNUMBER : 88691960482 MusicBrainz Release Group Id: f5563f75-d4fe-42a9-9649-7462641a2ce6 MusicBrainz Album Id: 5f184459-abaf-46a3-b4b7-299333eda118 date : 2012-05-14 Duration: 00:04:37.37, start: 0.025057, bitrate: 320 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s Metadata: encoder : LAME3.97 Side data: replaygain: track gain - -5.700000, track peak - unknown, album gain - unk nown, album peak - unknown, "streams": [ { "index": 0, "codec_name": "mp3", "codec_long_name": "MP3 (MPEG audio layer 3)", "codec_type": "audio", "codec_time_base": "1/44100", "codec_tag_string": "[0][0][0][0]", "codec_tag": "0x0000", "sample_fmt": "s16p", "sample_rate": "44100", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/14112000", "start_pts": 353600, "start_time": "0.025057", "duration_ts": 3914219520, "duration": "277.368163", "bit_rate": "320000", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 }, "tags": { "encoder": "LAME3.97 " } } ], "chapters": [ ], "format": { "filename": "file:\\\\Q6600\\Music\\Willie Nelson\\(2012) Heroes\\01. A Horse Called Music.mp3", "nb_streams": 1, "nb_programs": 0, "format_name": "mp3", "format_long_name": "MP2/3 (MPEG audio layer 2/3)", "start_time": "0.025057", "duration": "277.368163", "size": "11099397", "bit_rate": "320134", "probe_score": 51, "tags": { "album": "Heroes", "artist": "Willie Nelson;Merle Haggard", "album_artist": "Willie Nelson", "copyright": "catz", "MusicBrainz Album Status": "official", "genre": "Country", "compilation": "1", "TMED": "CD", "TORY": "2012", "publisher": "Legacy", "title": "A Horse Called Music", "track": "1", "MusicBrainz Album Release Country": "GB", "artist-sort": "Nelson, Willie with Haggard, Merle", "TSO2": "Nelson, Willie", "SCRIPT": "Latn", "MusicBrainz Album Type": "album", "MusicBrainz Album Artist Id": "668fd73c-bf54-4310-a139-305517f05311 ", "MusicBrainz Artist Id": "668fd73c-bf54-4310-a139-305517f05311/deb24 48c-6fdf-4d31-921e-757630515dbd", "BARCODE": "886919604825", "CATALOGNUMBER": "88691960482", "MusicBrainz Release Group Id": "f5563f75-d4fe-42a9-9649-7462641a2ce 6", "MusicBrainz Album Id": "5f184459-abaf-46a3-b4b7-299333eda118", "date": "2012-05-14" } } } D:\ffbrobetest> http://www.musicbrainz.org/ws/2/release/?query=%22Heroes%22%20AND%20artist:%22Willie%20Nelson%22 is this an issue? edit. even if i provide the artist mbz or audiodb id (as known to MB3 for the album artist) in the identify interface...the log still shows the same search url without artist..and i get 10 results for heroes by willie nelson..unable to distinguish between them.. the only field which helped on the identify interface was mbz album id 5f184459-abaf-46a3-b4b7-299333eda118 resulting in a different log entry...and a single result 2014-12-13 20:08:54.6303 Info - App: HttpClientManager GET: http://www.musicbrainz.org/ws/2/release/?query=reid:5f184459-abaf-46a3-b4b7-299333eda118 although now i am getting another issue..where the remainder of the ids are not fetched and no audiodb info is fetched...but the mbz album id is populated..
  8. here is what the url will be /Videos/{Id}/Subtitle/{Index}
  9. mellomade

    Remote Control API

    Hi Everyone, One thing I have not heard much about is how all these different clients can be controlled remotely. Is there a plan for some level of TCP communication - websockets for instance? Or maybe similar to XBMC with a JSON API?
×
×
  • Create New...