home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
WebService and Mobile Access
[WebService] General Media Access Webservice
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="sproth" data-source="post: 755739" data-attributes="member: 113697"><p>Hi DieBagger</p><p>Thanks for getting back to me so quickly <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>About restarting GMA: Whenever I did changes (config.xml or on the datatbase file) I stopped the service, did the changes and then restarted it again. Initially I also rebooted the PC, but this neither helped.</p><p></p><p>OK, I started now from scratch (but with the same result):</p><p>1.) Stopped the GMA webservice</p><p>2.) Deleted the 2 database files MusicDatabaseV11.db3 and MusicDatabaseV12.db3</p><p>3.) Opened the Team Media Player Config and created a new (mini) Music database </p><p> --> MusicDatabaseV11.db3 was created, is attached to this post</p><p>4.) Changed in the GMA config.XML the database path to the current music database:</p><p> --> <database name="music" filename="C:\ProgramData\Team MediaPortal\MediaPortal\database\MusicDatabaseV11.db3" /></p><p>5.) Started the GMA Webservice (via Windows services)</p><p> --> Note: Now suddenly a new (empty) V12 file is created in the database folder of TeamMediaPortal (MusicDatabaseV12.db3)</p><p> --> This file was apparently created by the GMA webservice, even tough I specified V11 as filename in the config.XML</p><p>6.) Opened the link <a href="http://localhost:44321/GmaWebService/MediaAccessService/json/GetSupportedFunctions" target="_blank">http://localhost:44321/GmaWebService/MediaAccessService/json/GetSupportedFunctions</a></p><p> --> I get the following reply:</p><p>{"MoviesFunction":{"Description":"MovingPicture Movies","Id":0,"ImagePath":"\/Thumbs\/Movies.png","Name":"Movies"},"MusicFunction":{"Description":"Listen to your music","Id":0,"ImagePath":"\/Thumbs\/Music.png","Name":"Music"},"PicturesFunction":{"Description":"Watch your pictures","Id":0,"ImagePath":"\/Thumbs\/Pictures.png","Name":"Pictures"},"SupportsMovies":false,"SupportsMusic":true,"SupportsPictures":false,"SupportsTV":false,"SupportsTvSeries":true,"SupportsVideos":true,"TVFunction":null,"TvSeriesFunction":{"Description":"MP-TvSeries TV Shows","Id":0,"ImagePath":"\/Thumbs\/TVSeries.png","Name":"TV Series"},"VideosFunction":{"Description":"MediaPortal Videos","Id":0,"ImagePath":"\/Thumbs\/Videos.png","Name":"Videos"}}</p><p></p><p></p><p>7.) opened the link <a href="http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllAlbums?sort=0&order=0" target="_blank">http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllAlbums?sort=0&order=0</a></p><p> --> NOK: Firefox can't find the file at <a href="http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllAlbums?sort=0&order=0" target="_blank">http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllAlbums?sort=0&order=0</a>.</p><p>8.) opened the link <a href="http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllArtists?sort=0&order=0" target="_blank">http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllArtists?sort=0&order=0</a></p><p> --> NOK: Firefox can't find the file at <a href="http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllArtists?sort=0&order=0" target="_blank">http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllArtists?sort=0&order=0</a>.</p><p></p><p>9.) checked as well via aMPdroid. There I can access the "shares", but music / artist states "no connection"</p><p></p><p>10.) stopping GMA webservice (via windows services)</p><p>11.) making a copy of MusicDatabaseV11.db3 and rename this copy to MusicDatabaseV12.db3</p><p>12.) change GMA webservice config.xml from MusicDatabaseV11.db3 to MusicDatabaseV12.db3</p><p>13.) starting the GMA service</p><p>14.) opened the link <a href="http://localhost:44321/GmaWebService/MediaAccessService/json/GetSupportedFunctions" target="_blank">http://localhost:44321/GmaWebService/MediaAccessService/json/GetSupportedFunctions</a></p><p> -->I get the following reply:</p><p>{"MoviesFunction":{"Description":"MovingPicture Movies","Id":0,"ImagePath":"\/Thumbs\/Movies.png","Name":"Movies"},"MusicFunction":{"Description":"Listen to your music","Id":0,"ImagePath":"\/Thumbs\/Music.png","Name":"Music"},"PicturesFunction":{"Description":"Watch your pictures","Id":0,"ImagePath":"\/Thumbs\/Pictures.png","Name":"Pictures"},"SupportsMovies":false,"SupportsMusic":true,"SupportsPictures":false,"SupportsTV":false,"SupportsTvSeries":true,"SupportsVideos":true,"TVFunction":null,"TvSeriesFunction":{"Description":"MP-TvSeries TV Shows","Id":0,"ImagePath":"\/Thumbs\/TVSeries.png","Name":"TV Series"},"VideosFunction":{"Description":"MediaPortal Videos","Id":0,"ImagePath":"\/Thumbs\/Videos.png","Name":"Videos"}}</p><p></p><p>15.) opened the link <a href="http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllAlbums?sort=0&order=0" target="_blank">http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllAlbums?sort=0&order=0</a></p><p>--> seems to be OK, see attached file for the reply</p><p></p><p>16.) opened the link <a href="http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllArtists?sort=0&order=0" target="_blank">http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllArtists?sort=0&order=0</a></p><p>--> seems to be OK, see attached file for the reply</p><p></p><p>17.) opened aMPdroid: </p><p> -->Songs tab is working fine, can select songs to play with Team Media Portal</p><p> --> Albums tab is working, I see all the Albums, but I cannot select them to be played (not sure if this is normal..) </p><p> --> Artist tab has 2 problems: 1st: of the 2 artists contained in my mini music database, only one (DepecheMode) appears</p><p> 2nd once I select "Album" aMPdroid hangs while the message "loading Albums" is displayed</p><p></p><p>Sorry for this long post, but I thought I describe my steps as accurate as possible</p><p>Again thanks for your help</p><p>Stefan</p></blockquote><p></p>
[QUOTE="sproth, post: 755739, member: 113697"] Hi DieBagger Thanks for getting back to me so quickly :) About restarting GMA: Whenever I did changes (config.xml or on the datatbase file) I stopped the service, did the changes and then restarted it again. Initially I also rebooted the PC, but this neither helped. OK, I started now from scratch (but with the same result): 1.) Stopped the GMA webservice 2.) Deleted the 2 database files MusicDatabaseV11.db3 and MusicDatabaseV12.db3 3.) Opened the Team Media Player Config and created a new (mini) Music database --> MusicDatabaseV11.db3 was created, is attached to this post 4.) Changed in the GMA config.XML the database path to the current music database: --> <database name="music" filename="C:\ProgramData\Team MediaPortal\MediaPortal\database\MusicDatabaseV11.db3" /> 5.) Started the GMA Webservice (via Windows services) --> Note: Now suddenly a new (empty) V12 file is created in the database folder of TeamMediaPortal (MusicDatabaseV12.db3) --> This file was apparently created by the GMA webservice, even tough I specified V11 as filename in the config.XML 6.) Opened the link [url]http://localhost:44321/GmaWebService/MediaAccessService/json/GetSupportedFunctions[/url] --> I get the following reply: {"MoviesFunction":{"Description":"MovingPicture Movies","Id":0,"ImagePath":"\/Thumbs\/Movies.png","Name":"Movies"},"MusicFunction":{"Description":"Listen to your music","Id":0,"ImagePath":"\/Thumbs\/Music.png","Name":"Music"},"PicturesFunction":{"Description":"Watch your pictures","Id":0,"ImagePath":"\/Thumbs\/Pictures.png","Name":"Pictures"},"SupportsMovies":false,"SupportsMusic":true,"SupportsPictures":false,"SupportsTV":false,"SupportsTvSeries":true,"SupportsVideos":true,"TVFunction":null,"TvSeriesFunction":{"Description":"MP-TvSeries TV Shows","Id":0,"ImagePath":"\/Thumbs\/TVSeries.png","Name":"TV Series"},"VideosFunction":{"Description":"MediaPortal Videos","Id":0,"ImagePath":"\/Thumbs\/Videos.png","Name":"Videos"}} 7.) opened the link [url]http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllAlbums?sort=0&order=0[/url] --> NOK: Firefox can't find the file at [url]http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllAlbums?sort=0&order=0[/url]. 8.) opened the link [url]http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllArtists?sort=0&order=0[/url] --> NOK: Firefox can't find the file at [url]http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllArtists?sort=0&order=0[/url]. 9.) checked as well via aMPdroid. There I can access the "shares", but music / artist states "no connection" 10.) stopping GMA webservice (via windows services) 11.) making a copy of MusicDatabaseV11.db3 and rename this copy to MusicDatabaseV12.db3 12.) change GMA webservice config.xml from MusicDatabaseV11.db3 to MusicDatabaseV12.db3 13.) starting the GMA service 14.) opened the link [url]http://localhost:44321/GmaWebService/MediaAccessService/json/GetSupportedFunctions[/url] -->I get the following reply: {"MoviesFunction":{"Description":"MovingPicture Movies","Id":0,"ImagePath":"\/Thumbs\/Movies.png","Name":"Movies"},"MusicFunction":{"Description":"Listen to your music","Id":0,"ImagePath":"\/Thumbs\/Music.png","Name":"Music"},"PicturesFunction":{"Description":"Watch your pictures","Id":0,"ImagePath":"\/Thumbs\/Pictures.png","Name":"Pictures"},"SupportsMovies":false,"SupportsMusic":true,"SupportsPictures":false,"SupportsTV":false,"SupportsTvSeries":true,"SupportsVideos":true,"TVFunction":null,"TvSeriesFunction":{"Description":"MP-TvSeries TV Shows","Id":0,"ImagePath":"\/Thumbs\/TVSeries.png","Name":"TV Series"},"VideosFunction":{"Description":"MediaPortal Videos","Id":0,"ImagePath":"\/Thumbs\/Videos.png","Name":"Videos"}} 15.) opened the link [url]http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllAlbums?sort=0&order=0[/url] --> seems to be OK, see attached file for the reply 16.) opened the link [url]http://localhost:44321/GmaWebService/MediaAccessService/json/GetAllArtists?sort=0&order=0[/url] --> seems to be OK, see attached file for the reply 17.) opened aMPdroid: -->Songs tab is working fine, can select songs to play with Team Media Portal --> Albums tab is working, I see all the Albums, but I cannot select them to be played (not sure if this is normal..) --> Artist tab has 2 problems: 1st: of the 2 artists contained in my mini music database, only one (DepecheMode) appears 2nd once I select "Album" aMPdroid hangs while the message "loading Albums" is displayed Sorry for this long post, but I thought I describe my steps as accurate as possible Again thanks for your help Stefan [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
[WebService] General Media Access Webservice
Contact us
RSS
Top
Bottom