Project

General

Profile

Get channel list

Added by TaceN H almost 8 years ago

Hey!

When channel list is loaded from the server..
Is it possible to save this list to a file?

Want all the channels visible in a list whom I can show others.

//

Replies (6)

RE: Get channel list - Added by Mark Clarkstone almost 8 years ago

Use the playlist (http://ip:9981/playlist) or the JSON API formatted list (I can't remember the url, but use the dev tools of your browser to see how the webui requests them).

RE: Get channel list - Added by TaceN H almost 8 years ago

I don't understand..

When typing the url to the (in this case raspberry pi) http://ip:9981/playlist I get File not find.
If I go to the default web server address : 8080 I get in to the kodi web server. This doesn't help much though.

Been able to export the .db file from the userdata/Database and viewed it in a DB Browser application.
I get all the channels which are loaded. But, I don't see the ID's for the different groups, which is strange.
Therefore I maybe see the groups if I just can get hold of the playlist.

Thanks for helping out!

RE: Get channel list - Added by Mark Clarkstone almost 8 years ago

I think you're confusing Kodi & Tvheadend. Tvheadend is a backend for use with frontends such as Kodi (via the pvr.hts add-on).

If you cannot see anything on port 9981 this suggests you don't have tvheadend running/installed.

RE: Get channel list - Added by TaceN H almost 8 years ago

Hmm..

I'm running kodi on a raspberry pi and have installed the pvr tvheadsend. My tv works without any problems. So, it is installed.

When running the address with port 9981 it doesn't show anything. Do I need to add any parameter for json in the URL?

RE: Get channel list - Added by Mark Clarkstone almost 8 years ago

TaceN H wrote:

Hmm..

I'm running kodi on a raspberry pi and have installed the pvr tvheadsend. My tv works without any problems. So, it is installed.

The pvr add-on for Kodi is not tvheadend it's separate, it just provides access to the channels from the backend.

When running the address with port 9981 it doesn't show anything. Do I need to add any parameter for json in the URL?

No. If you can't even load the webui on the same port that suggests it's (one or more of the following):

  • Not running
  • A remote Backend
  • Blocked/restricted by a third party (i.e OEM)

I'm going to guess it's a remote backend & you've been given access to it by someone else (which would only involve entering a username, password & host address into the pvr add-on), in which case you'll need to ask them to provide access or create your own client that can use the htsp protocol.

RE: Get channel list - Added by TaceN H almost 8 years ago

Aha .. got it!

Thanks!

    (1-6/6)