Giter VIP home page Giter VIP logo

lms-tvh's People

Contributors

andrew-codechimp avatar dozigden avatar robot-codechimp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gjdoornink

lms-tvh's Issues

Get EPG info

As well as displaying channel name get the EPG info for current program
eg
http://{{tvh_server}}:9981/api/epg/events/grid?limit=1&channel=a1c803fc73fe07bb72cd2a84029d49cc

Display in now playing and maybe in station list.

Got error': 401 Unauthorized

Hello everyone,

Maybe it's not an real issue, but i can't connect to my tvh server.

The Squeezeserverlog says:
[19-07-27 20:06:19.3721] Plugins::TVH::API::ANON (124) Got error': 401 Unauthorized
[19-07-27 20:06:19.3733] Slim::Networking::IO::Select::ANON (131) Error: Select task failed calling Slim::Networking::Async::_async_read: Not an ARRAY reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TVH/Plugin.pm line 86.
; fh=Slim::Networking::Async::Socket::HTTP=GLOB(0x59746f8)

I followed the configuration example given in the readme file.
Nothins is missspelled and the tvh configuration for allowed networks is set to 0.0.0.0/0.

Maybe someone can help me please.

Best regards

Jan

Resize TVH Images

On some TVH installations alternative channel logo's are used which are rectangular and look better in Kodi.
These do not display well on LMS so the image needs to be padded vertically to create a square image that will be resized rather than cropped within LMS.

Allow profile to be specified

Optionally allow a profile to be specified, this will allow changing from the default profile if a user/password is used and also allow no authentication.

Change to channel ID's rather than numbers

Numbers can and often are 0 for multiple channels meaning you have to edit them manually in TVH or it will played the first found.
ID's are unique.
Check API and stream URL will support ID's, Kodi may be using HTSP
Won't impact favourites, they will remain with old channel number URL.

Channel ID URL example
http://Squeeze:mypass@LMSServerII:9981/stream/channelid/128246553?profile=radio

Channel UUID example
http://Squeeze:mypass@LMSServerII:9981/stream/channel/UUID?profile=radio

API with channel UUID docs
https://github.com/dave-p/TVH-API-docs/wiki/Channel#channelgrid

MaterialSkin icon

MaterialSkin currently has a SVG icon for this plugin, and a JSON file that is used to map from its PNG icon to the SVG icon. As of MaterialSkin 2.3.0, plugin's can ship this SVG icon themselves.

To support this:

  1. Rename plugins/TVH/icon.png to plugins/TVH/icon_svg.png
  2. Copy https://raw.githubusercontent.com/CDrummond/lms-material/master/MaterialSkin/HTML/material/html/images/tvheadend.svg to plugins/TVH/icon.svg

...and it should all work. What happens is that if Material finds an icon named xxx_svg.png it assumes there is a matching xxx.svg in the same folder.

If you do make this change, let me know and I'll remove the entry from Material's JSON mapping file.


For more info on this icon mapping see: https://github.com/CDrummond/lms-material/wiki/Plugin-icon-mapping

radio streams do not play through to castbridge linked chromecast devices

Hi

Thanks for the plugin - it's great. I have a problem (that I think is recent; I am sure I have done this before...) although i can play radio streams from tvh through to most of my devices the radio streams do not play through to castbridge (plugin) linked chromecast devices.

Other sources (e.g. my music) play.

I have added the log; there is a clear error message for the radio stream and a log before the radio showing that a simple music file played.

Thanks for any help of how to fix this
(if you think this is more likely for Philippe on the castbridge plugin page I will post there, but due to the error message I thought more likely the issue was at the tvh end)

Stuart
castbridge.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.