xbmc:xbmc-antiquated.git
7 years agoRenamed FileActions and PlayerActions to FileOperations and PlayerOperations
topfs2 [Fri, 22 Jan 2010 19:41:47 +0000 (19:41 +0000)]
Renamed FileActions and PlayerActions to FileOperations and PlayerOperations

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@27080 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoRenamed FileActions and PlayerActions to FileOperations and PlayerOperations
topfs2 [Fri, 22 Jan 2010 19:40:36 +0000 (19:40 +0000)]
Renamed FileActions and PlayerActions to FileOperations and PlayerOperations

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@27079 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded slideshow operations
topfs2 [Fri, 22 Jan 2010 19:38:26 +0000 (19:38 +0000)]
Added slideshow operations

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@27078 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoFixed compiler error due to the merge
topfs2 [Fri, 22 Jan 2010 19:37:07 +0000 (19:37 +0000)]
Fixed compiler error due to the merge

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@27076 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoFixed forgotten mergeconflict
topfs2 [Fri, 22 Jan 2010 19:36:10 +0000 (19:36 +0000)]
Fixed forgotten mergeconflict

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@27075 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agomerged jsonrpc 26169:27006
topfs2 [Fri, 22 Jan 2010 19:31:45 +0000 (19:31 +0000)]
merged jsonrpc 26169:27006

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@27074 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoCosmetics
topfs2 [Mon, 18 Jan 2010 20:16:43 +0000 (20:16 +0000)]
Cosmetics

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26991 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded System.GetInfo
topfs2 [Mon, 18 Jan 2010 17:53:14 +0000 (17:53 +0000)]
Added System.GetInfo

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26987 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoGeneralized ACK on commands (those commands that return no real data as result but...
topfs2 [Mon, 18 Jan 2010 17:30:41 +0000 (17:30 +0000)]
Generalized ACK on commands (those commands that return no real data as result but say that the command executed properly)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26985 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoCleaned up fileitemhandler abit and made Files.GetDirectory use it
topfs2 [Mon, 18 Jan 2010 17:13:45 +0000 (17:13 +0000)]
Cleaned up fileitemhandler abit and made Files.GetDirectory use it

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26984 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded logging capability in jsonrpc
topfs2 [Mon, 18 Jan 2010 13:20:17 +0000 (13:20 +0000)]
Added logging capability in jsonrpc

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26977 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded checks for params on the other methods aswell
topfs2 [Mon, 18 Jan 2010 01:03:30 +0000 (01:03 +0000)]
Added checks for params on the other methods aswell

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26963 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoPlaylist should now be safe nomatter the parameter
topfs2 [Mon, 18 Jan 2010 00:41:48 +0000 (00:41 +0000)]
Playlist should now be safe nomatter the parameter

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26962 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAllow no description
topfs2 [Mon, 18 Jan 2010 00:25:28 +0000 (00:25 +0000)]
Allow no description

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26961 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoFixed the permission to string generation, also force the get of jsonrpc version...
topfs2 [Mon, 18 Jan 2010 00:24:04 +0000 (00:24 +0000)]
Fixed the permission to string generation, also force the get of jsonrpc version to string

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26959 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded some XBMC Actions (Play, StartSlideshow and volume)
topfs2 [Sun, 17 Jan 2010 00:08:26 +0000 (00:08 +0000)]
Added some XBMC Actions (Play, StartSlideshow and volume)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26926 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoRenamed LibraryBase to FileItemHandler since thats more general
topfs2 [Fri, 15 Jan 2010 10:47:06 +0000 (10:47 +0000)]
Renamed LibraryBase to FileItemHandler since thats more general

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26857 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded wrapping of the Playlist
topfs2 [Fri, 15 Jan 2010 10:24:37 +0000 (10:24 +0000)]
Added wrapping of the Playlist

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26855 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoOops, copy pasted over bigskipbackward in r26790
topfs2 [Thu, 14 Jan 2010 16:12:03 +0000 (16:12 +0000)]
Oops, copy pasted over bigskipbackward in r26790

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26803 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoBetter naming of method
topfs2 [Thu, 14 Jan 2010 16:03:09 +0000 (16:03 +0000)]
Better naming of method

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26802 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoRemoved a mime that slipped in
topfs2 [Thu, 14 Jan 2010 16:00:27 +0000 (16:00 +0000)]
Removed a mime that slipped in

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26801 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded mime types on some other files, not sure they are all are correct but its a...
topfs2 [Thu, 14 Jan 2010 15:57:57 +0000 (15:57 +0000)]
Added mime types on some other files, not sure they are all are correct but its a start

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26800 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoSet the correct mimetype on json, still needed on the other files
topfs2 [Thu, 14 Jan 2010 14:43:32 +0000 (14:43 +0000)]
Set the correct mimetype on json, still needed on the other files

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26792 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoFixed up and added many of the Player commands for both music and video
topfs2 [Thu, 14 Jan 2010 14:13:16 +0000 (14:13 +0000)]
Fixed up and added many of the Player commands for both music and video

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26790 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoHmm, looks like it needs to be nonconst, this needs to be abit redesigned
topfs2 [Wed, 13 Jan 2010 18:54:17 +0000 (18:54 +0000)]
Hmm, looks like it needs to be nonconst, this needs to be abit redesigned

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26760 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoReverted r26687 application already tests null, error is it doesn't lock, need to fix
topfs2 [Mon, 11 Jan 2010 19:25:46 +0000 (19:25 +0000)]
Reverted r26687 application already tests null, error is it doesn't lock, need to fix

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26688 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoNeed to make sure player is initialized
topfs2 [Mon, 11 Jan 2010 19:01:36 +0000 (19:01 +0000)]
Need to make sure player is initialized

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26687 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoRefactored abit for easier reading in the webserver
topfs2 [Mon, 11 Jan 2010 18:51:15 +0000 (18:51 +0000)]
Refactored abit for easier reading in the webserver

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26686 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded credentialssupport to the webserver
topfs2 [Mon, 11 Jan 2010 18:30:19 +0000 (18:30 +0000)]
Added credentialssupport to the webserver

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26685 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMoved the actionmap in jsonrpc to a constant so now no need to initialize jsonrpc...
topfs2 [Mon, 11 Jan 2010 12:38:10 +0000 (12:38 +0000)]
Moved the actionmap in jsonrpc to a constant so now no need to initialize jsonrpc anymore, also renamed the json_action struct and moved the commands array into the class

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26665 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoOops, strURL not strUrl
topfs2 [Mon, 11 Jan 2010 09:40:10 +0000 (09:40 +0000)]
Oops, strURL not strUrl

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26663 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded locks to the TCP Connection
topfs2 [Mon, 11 Jan 2010 09:09:12 +0000 (09:09 +0000)]
Added locks to the TCP Connection

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26662 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded some debuglogging
topfs2 [Mon, 11 Jan 2010 09:07:56 +0000 (09:07 +0000)]
Added some debuglogging

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26661 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded Shutdown features and such to the jsonrpc interface
topfs2 [Sun, 10 Jan 2010 16:34:34 +0000 (16:34 +0000)]
Added Shutdown features and such to the jsonrpc interface

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26642 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAllow jsonrpc clients to announce stuff
topfs2 [Sun, 10 Jan 2010 13:06:28 +0000 (13:06 +0000)]
Allow jsonrpc clients to announce stuff

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26639 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded locks in AnnouncementManager
topfs2 [Sat, 9 Jan 2010 23:11:42 +0000 (23:11 +0000)]
Added locks in AnnouncementManager

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26613 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMoved the generation of the returned json on filedownload to the transport layer
topfs2 [Sat, 9 Jan 2010 22:22:40 +0000 (22:22 +0000)]
Moved the generation of the returned json on filedownload to the transport layer

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26607 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded the support to control announcement flags from clients
topfs2 [Sat, 9 Jan 2010 22:20:37 +0000 (22:20 +0000)]
Added the support to control announcement flags from clients

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26606 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded transport capability filtering
topfs2 [Sat, 9 Jan 2010 21:19:21 +0000 (21:19 +0000)]
Added transport capability filtering

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26604 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded an album grid view in the webinterface, mostly as a show
topfs2 [Sat, 9 Jan 2010 19:16:39 +0000 (19:16 +0000)]
Added an album grid view in the webinterface, mostly as a show

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26602 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agomoved the POC webinterface to lowercase and no whitespace.
topfs2 [Sat, 9 Jan 2010 18:43:13 +0000 (18:43 +0000)]
moved the POC webinterface to lowercase and no whitespace.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26601 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded a POC webinterface for the jsonrpc since asp is nolonger available.
topfs2 [Sat, 9 Jan 2010 18:09:07 +0000 (18:09 +0000)]
Added a POC webinterface for the jsonrpc since asp is nolonger available.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26599 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMade the select timeout abit shorter for more snappiness in gui
topfs2 [Fri, 8 Jan 2010 01:39:58 +0000 (01:39 +0000)]
Made the select timeout abit shorter for more snappiness in gui

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26530 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMade guisetting changes reflect at runtime of jsonrpc tcpserver
topfs2 [Fri, 8 Jan 2010 01:37:23 +0000 (01:37 +0000)]
Made guisetting changes reflect at runtime of jsonrpc tcpserver

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26529 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoLet the guisettings for remote service to control xbmc control jsonrpc tcp server...
topfs2 [Fri, 8 Jan 2010 01:30:16 +0000 (01:30 +0000)]
Let the guisettings for remote service to control xbmc control jsonrpc tcp server aswell

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26527 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded the possibility to bind to local
topfs2 [Fri, 8 Jan 2010 01:24:42 +0000 (01:24 +0000)]
Added the possibility to bind to local

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26526 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoCosmetics, removed printfs and added log calls instead
topfs2 [Thu, 7 Jan 2010 19:54:11 +0000 (19:54 +0000)]
Cosmetics, removed printfs and added log calls instead

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26507 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMake sure we clean up serverinstance when we have stopped it, also make sure it's...
topfs2 [Thu, 7 Jan 2010 19:32:10 +0000 (19:32 +0000)]
Make sure we clean up serverinstance when we have stopped it, also make sure it's null to begin with

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26506 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agocosmetics
topfs2 [Thu, 7 Jan 2010 17:46:29 +0000 (17:46 +0000)]
cosmetics

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26502 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoFixed unable to shutdown TCPServer
topfs2 [Thu, 7 Jan 2010 17:43:48 +0000 (17:43 +0000)]
Fixed unable to shutdown TCPServer

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26501 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoChanged announcement to fit the new interface better, i.e. some more info is announced
topfs2 [Thu, 7 Jan 2010 16:44:21 +0000 (16:44 +0000)]
Changed announcement to fit the new interface better, i.e. some more info is announced

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26500 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoChanged all references of Broadcast into Announcement because the new announcement...
topfs2 [Thu, 7 Jan 2010 16:27:32 +0000 (16:27 +0000)]
Changed all references of Broadcast into Announcement because the new announcement services aren't broadcast, they are per client and filtered

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26498 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded sender and data to the broadcast call
topfs2 [Thu, 7 Jan 2010 13:30:59 +0000 (13:30 +0000)]
Added sender and data to the broadcast call

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26497 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded first broadcast implementation in the jsonrpc server
topfs2 [Thu, 7 Jan 2010 12:16:45 +0000 (12:16 +0000)]
Added first broadcast implementation in the jsonrpc server

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26496 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded jsonrpcserver as a broadcast listener
topfs2 [Thu, 7 Jan 2010 12:08:05 +0000 (12:08 +0000)]
Added jsonrpcserver as a broadcast listener

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26494 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoStopping jsonrpc server should have a wait bool, also made it start and stop
topfs2 [Thu, 7 Jan 2010 11:51:00 +0000 (11:51 +0000)]
Stopping jsonrpc server should have a wait bool, also made it start and stop

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26493 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded a TCPServer for jsonrpc, thx AlTheKiller for the implementation idea.
topfs2 [Thu, 7 Jan 2010 11:43:27 +0000 (11:43 +0000)]
Added a TCPServer for jsonrpc, thx AlTheKiller for the implementation idea.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26492 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoCosmetics
topfs2 [Thu, 7 Jan 2010 01:25:45 +0000 (01:25 +0000)]
Cosmetics

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26485 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded executable check to introspect and made commands always gettable, doesn't make...
topfs2 [Thu, 7 Jan 2010 01:24:24 +0000 (01:24 +0000)]
Added executable check to introspect and made commands always gettable, doesn't make sense to turn them off

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26484 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoForgot to add IClient to the jsonrpcmethods
topfs2 [Thu, 7 Jan 2010 01:13:36 +0000 (01:13 +0000)]
Forgot to add IClient to the jsonrpcmethods

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26483 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded better operation permissions
topfs2 [Thu, 7 Jan 2010 01:08:05 +0000 (01:08 +0000)]
Added better operation permissions

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26482 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded IClient and ITransport to the jsonrpc calls
topfs2 [Thu, 7 Jan 2010 00:44:44 +0000 (00:44 +0000)]
Added IClient and ITransport to the jsonrpc calls

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26479 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded IClient and ITransportLayer to be used in jsonrpc
topfs2 [Thu, 7 Jan 2010 00:15:10 +0000 (00:15 +0000)]
Added IClient and ITransportLayer to be used in jsonrpc

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26478 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMoved all the jsonrpc into JSONRPC namespace
topfs2 [Wed, 6 Jan 2010 23:56:13 +0000 (23:56 +0000)]
Moved all the jsonrpc into JSONRPC namespace

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26476 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded a ping method to the jsonrpc
topfs2 [Tue, 5 Jan 2010 18:34:53 +0000 (18:34 +0000)]
Added a ping method to the jsonrpc

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26405 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoImplemented powermanager broadcasts
topfs2 [Tue, 5 Jan 2010 17:56:03 +0000 (17:56 +0000)]
Implemented powermanager broadcasts

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26404 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoChanged it to correct spelling and cap
topfs2 [Tue, 5 Jan 2010 17:19:33 +0000 (17:19 +0000)]
Changed it to correct spelling and cap

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26403 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMoved broadcast stuff into BROADCAST namespace
topfs2 [Tue, 5 Jan 2010 16:59:50 +0000 (16:59 +0000)]
Moved broadcast stuff into BROADCAST namespace

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26402 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoLinked up the broadcast manager to some preliminary events
topfs2 [Tue, 5 Jan 2010 16:49:25 +0000 (16:49 +0000)]
Linked up the broadcast manager to some preliminary events

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26401 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded preliminary broadcast manager
topfs2 [Tue, 5 Jan 2010 16:47:05 +0000 (16:47 +0000)]
Added preliminary broadcast manager

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26400 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded license in headers
topfs2 [Tue, 5 Jan 2010 15:57:48 +0000 (15:57 +0000)]
Added license in headers

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26399 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoNow should SendKeys work proper with httpapi on the new webserver
topfs2 [Fri, 1 Jan 2010 13:31:42 +0000 (13:31 +0000)]
Now should SendKeys work proper with httpapi on the new webserver

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26248 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoBroadcast should now work in httpapi, also moved the define from webserver_broadcast...
topfs2 [Fri, 1 Jan 2010 13:06:17 +0000 (13:06 +0000)]
Broadcast should now work in httpapi, also moved the define from webserver_broadcast to the actual httpapi define

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26247 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoCosmetics
topfs2 [Fri, 1 Jan 2010 13:03:52 +0000 (13:03 +0000)]
Cosmetics

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26246 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoCleaned up the zeroconf stuff with the new webserver, jsonrpc and httpapi.
topfs2 [Fri, 1 Jan 2010 12:58:09 +0000 (12:58 +0000)]
Cleaned up the zeroconf stuff with the new webserver, jsonrpc and httpapi.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26245 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoImplemented the playeractions in jsonrpc
topfs2 [Fri, 1 Jan 2010 09:46:54 +0000 (09:46 +0000)]
Implemented the playeractions in jsonrpc

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26241 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoSet database ID for artists
topfs2 [Fri, 1 Jan 2010 09:44:35 +0000 (09:44 +0000)]
Set database ID for artists

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26240 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoFill the proper database ids in the library calls of jsonrpc
topfs2 [Fri, 1 Jan 2010 09:25:37 +0000 (09:25 +0000)]
Fill the proper database ids in the library calls of jsonrpc

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26239 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoInitial musiclibrary wrap in jsonrpc
topfs2 [Thu, 31 Dec 2009 17:14:03 +0000 (17:14 +0000)]
Initial musiclibrary wrap in jsonrpc

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26232 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMade introspect return the method permission needs
topfs2 [Thu, 31 Dec 2009 13:09:24 +0000 (13:09 +0000)]
Made introspect return the method permission needs

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26230 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded permission getter to the jsonrpc interface, it might be changed to clientinfo...
topfs2 [Thu, 31 Dec 2009 13:02:55 +0000 (13:02 +0000)]
Added permission getter to the jsonrpc interface, it might be changed to clientinfo or something if the need for more per client info is needed

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26229 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoNo need to state the error code when its the same as the case
topfs2 [Thu, 31 Dec 2009 12:46:26 +0000 (12:46 +0000)]
No need to state the error code when its the same as the case

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26228 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoIntrospect should return a single array with objects
topfs2 [Thu, 31 Dec 2009 12:43:46 +0000 (12:43 +0000)]
Introspect should return a single array with objects

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26227 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoRemoved the parameter check in the base of jsonrpc, the methods does the check if...
topfs2 [Thu, 31 Dec 2009 12:20:11 +0000 (12:20 +0000)]
Removed the parameter check in the base of jsonrpc, the methods does the check if they need it

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26226 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoShould check better for parameters in the fileactions
topfs2 [Thu, 31 Dec 2009 12:15:37 +0000 (12:15 +0000)]
Should check better for parameters in the fileactions

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26225 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoImplemented PlayerActions (not the rw actions)
topfs2 [Thu, 31 Dec 2009 12:14:15 +0000 (12:14 +0000)]
Implemented PlayerActions (not the rw actions)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26224 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdd runtime checks for RW or RO operations in the jsonrpc interface, still needs...
topfs2 [Thu, 31 Dec 2009 11:04:31 +0000 (11:04 +0000)]
Add runtime checks for RW or RO operations in the jsonrpc interface, still needs to be checked on per client basis.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26222 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAccording to jsonrpc spec we should take ID of any type
topfs2 [Thu, 31 Dec 2009 10:16:47 +0000 (10:16 +0000)]
According to jsonrpc spec we should take ID of any type

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26221 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded a version method, don't expect it to bump in this branch though
topfs2 [Thu, 31 Dec 2009 10:06:05 +0000 (10:06 +0000)]
Added a version method, don't expect it to bump in this branch though

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26220 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoremoved libGoAhead. wohoo\!
topfs2 [Wed, 30 Dec 2009 21:06:28 +0000 (21:06 +0000)]
removed libGoAhead. wohoo\!

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26204 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoEnabled httpapi and fixed it in xbmcmodule
topfs2 [Wed, 30 Dec 2009 20:12:47 +0000 (20:12 +0000)]
Enabled httpapi and fixed it in xbmcmodule

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26202 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoNeed to link jsonrpc after jsoncpp
topfs2 [Wed, 30 Dec 2009 19:17:11 +0000 (19:17 +0000)]
Need to link jsonrpc after jsoncpp

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26200 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded jsonrpc to the makefile
topfs2 [Wed, 30 Dec 2009 18:52:02 +0000 (18:52 +0000)]
Added jsonrpc to the makefile

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26199 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoEnable the webinterface and jsonrpc by default
topfs2 [Wed, 30 Dec 2009 18:35:55 +0000 (18:35 +0000)]
Enable the webinterface and jsonrpc by default

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26198 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoShould have jsonrpc::initialize within ifdefs
topfs2 [Wed, 30 Dec 2009 18:28:50 +0000 (18:28 +0000)]
Should have jsonrpc::initialize within ifdefs

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26197 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoNo need to be executable, damn gedit
topfs2 [Wed, 30 Dec 2009 18:26:13 +0000 (18:26 +0000)]
No need to be executable, damn gedit

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26195 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoHooked up the webserver with the newly added interfaces
topfs2 [Wed, 30 Dec 2009 12:05:14 +0000 (12:05 +0000)]
Hooked up the webserver with the newly added interfaces

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26188 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded initial jsonrpc library
topfs2 [Wed, 30 Dec 2009 11:27:05 +0000 (11:27 +0000)]
Added initial jsonrpc library

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26186 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMoved and modified necessary httpapi classes to libhttpapi
topfs2 [Wed, 30 Dec 2009 11:22:56 +0000 (11:22 +0000)]
Moved and modified necessary httpapi classes to libhttpapi

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26185 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoRest of the missed patching
topfs2 [Wed, 30 Dec 2009 11:17:08 +0000 (11:17 +0000)]
Rest of the missed patching

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/jsonrpc@26184 568bbfeb-2a22-0410-94d2-cc84cf5bfa90