codechimp-org / lms-tvh Goto Github PK
View Code? Open in Web Editor NEWTVHeadend Radio Plugin for Lyrion (Logitech) Media Server
License: Apache License 2.0
TVHeadend Radio Plugin for Lyrion (Logitech) Media Server
License: Apache License 2.0
TVHeadend now allows an authcode token to be specified rather than username/password.
Sorted by date desc grouping by title, same as kodi
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.
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
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.
Include in settings screen and also on project readme
Currently the URL's are hard coded with usernames/profile/server details. When these are favourited they will be static and if the config changes will not update, they also leak credentials.
Register a protocol handler for tvh:// content and re-write URL's on the fly.
Ditto for icon sources.
See https://github.com/pierrepoulpe/SqueezeboxQobuz for a fairly simple implementation.
Default tag name of "Radio channels"
Default port 9981
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.
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
Need a setting to specify the tag to use when filtering recordings to show only radio.
Allow sorting by name or number
Changing server IP in settings does not cause plugin to use new server until LMS is restarted.
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:
plugins/TVH/icon.png
to plugins/TVH/icon_svg.png
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
Needs to zip the plugin files, SHA1 the zip and edit the repos.xml
Present a placeholder image if image is not found/valid.
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
TVH can have transparent icons which do not display well on LMS.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.