Posts: 5,184
Joined: Jan 2009
Reputation:
131
I agree that relying on sources.xml is not ideal but with the database design/layout (escpecially the fact that there are separate databases for different media types) XBMC currently uses it's unfeasable to check the requested path against a path in the database. Furthermore Just checking against the paths in the database would not allow you to access artwork that is stored in the filesystem alongside the actual media items because those are stored in yet another database table.
IMO copying the sources.xml file is the safest way to go.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 3,077
Joined: Jun 2009
I added support for that in Yatse some times ago so it does work for sure in Gotham.
I've just tested again against Beta 2 and :
03-18 10:59:37.788: V/JsonRpc(26783): JsonRpc.doRequest@241: Request : {"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"file":"C:\\xx\\xxxx.mkv"},"options":{"resume":{"hours":1,"minutes":0,"seconds":8,"milliseconds":0}}}}
03-18 10:59:37.888: V/JsonRpc(26783): JsonRpc.doRequest@252: Response : {"id":1,"jsonrpc":"2.0","result":"OK"}
with a file not in database and queried from Files.GetDirectory and all works perfectly.
Posts: 573
Joined: Mar 2012
Reputation:
17
System -> Settings -> Debugging -> Verbose logging... and then select verbose logging for json-rpc requests
Posts: 5,184
Joined: Jan 2009
Reputation:
131
I don't think that paplayer (xbmc's music player) supports seeking.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 573
Joined: Mar 2012
Reputation:
17
2014-03-18, 21:43
(This post was last modified: 2014-03-18, 21:43 by Millencolin007.)
Using Player.Seek it is possible to seek within a music file. Therefore "seeking" is possible using paplayer... but I suppose that seeking and starting playback at a fixed position is not exactly the same and may be unsupported.
In that case I will continue to use the workaround of starting playback and seeking to the proper location in the file as soon as the playback has started.
Posts: 3,077
Joined: Jun 2009
Just be sure that your file is in a source and not a random location as access is denied if it's not the case