Who fancies a video Advent Calendar exclusively for MythTV users?

Announcements for MythTV

Moderator: Forum Moderators

Post Reply
User avatar
paulh
Developer
Posts: 442
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Who fancies a video Advent Calendar exclusively for MythTV users?

Post by paulh » Thu Nov 28, 2019 12:21 am

I'm slowly working on MythQML a new MythTV frontend client based on Qt's QML engine and using the MythTV services API mainly for my family and I to use but thought I would share an early pre-release so MythTV users can have a little fun using the advent calendar.

Everything is still in early stages of development but wanted to share the 'Advent Calendar' which I've created for the last 2 years for the family and thought there may be some MythTV users who would appreciate it.

Basically you open each window to reveal a Christmas themed video. All the video's are currently from YouTube although it could play anything playable by FFMpeg or LibVLC which I use for playback. I normally just create one advent calendar with a mixture of Christmas themed videos that would appeal to the family but this year I've created 4 different ones each with a theme. There is a train/railroad themed one, a music video one, a kids one with mainly cartoons and a more general one with a mixture of Christmas themed videos including some thought provoking short films. All the video's are family friendly and shouldn't offend anyone.

INSTALLATION
============
Ubuntu users can install it using my PPA. I have packages for Bionic, Disco and Eoan, There are more instructions on the MythQML website here but it's as simple as

Code: Select all

$ sudo add-apt-repository ppa:mythtv-paulh/mythtv-qml
$ sudo apt install mythfrontend-qml
Users of other distro's will have to install from source, there are some basic instructions here but once you have the build dependencies installed it's the usual Git/Qt build process

Code: Select all

$ git clone https://github.com/paul-h/mythfrontend_qml.git
$ qmake
$ make -j4 
$ sudo make install
SETUP
=====

The advent calendar doesn't require any special setup once MythQML is installed it should work out of the box. If you want to try other stuff like LiveTV, or playing videos from MythTV then you need to tell it what the IP address of the master backend is and some things still requires access to the MythTV DB so check those settings as well, if it can find a valid config.xml it will use those settings to access the database. There's lots more information available on the website including how to optimize a setup for using MythQML as it's intended as a dedicated HTPC.

Please read the FAQ before complaining or asking questions I've hopefully anticipated most questions although the website is still a WIP.

I would value your thoughts and constructive comments but please be aware this is still work-in-progress and many things don't work as expected or will be improved in later versions. It's still very much a pre-release experiment to see what can be achieved with QML but wanted to share the advent calendar, which is obviously time critical, since the family love it and the most positive feedback by far I've received is from my Christmas MythTV themes :)

User avatar
pvr4me
Senior
Posts: 660
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: Who fancies a video Advent Calendar exclusively for MythTV users?

Post by pvr4me » Thu Nov 28, 2019 1:29 pm

In the fullness of time, what platforms do you intend to support with this? Clearly you've put a lot of time and energy into this project. Why this and not, say, flesh out the WebFrontend?

Craig
The MacPorts guy.

User avatar
paulh
Developer
Posts: 442
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Who fancies a video Advent Calendar exclusively for MythTV users?

Post by paulh » Thu Nov 28, 2019 6:47 pm

pvr4me wrote:
Thu Nov 28, 2019 1:29 pm
In the fullness of time, what platforms do you intend to support with this?


I guess you are asking will there be a Mac version :?: Main focus is Linux, specifically Ubuntu since that is what I use. A Windows build would be handy since there are times I have to use WIndows PC's but not looked to see how easy that would be. As for Mac I've never owned one so know nothing about developing for them. I guess it should be easier to get MythQML working than MythTV but that's just a guess. I have no immediate plan for other builds but If someone wants to donate a suitable machine or throw a donation my way that could change things ;)
Clearly you've put a lot of time and energy into this project. Why this and not, say, flesh out the WebFrontend?
The Webfrontend uses HTML not QML development on it has stalled and may well be completely dead. I don't think you could achieve what I want with it anyway.

I started the QML frontend as a personal project with specific goals in mind and never intended to make it official but in the interest of open source software I thought I'd tentatively make it more widely available.

I wanted a frontend that could mix video with the GUI and have multiple video feeds like Picture-in-Picture or Picture-By-Picture or Quad screen layouts or ... I also wanted a more modern look and feel than the current frontend with animated window transitions, sliding panels and other transition effects, video backgrounds, sound effects etc. I know some of the other MythTV devs have expressed a dislike for some of these things which make it harder to add them to the official frontend even if it was possible with MythUI.

At the end of the day working with QML is fun and the big advantage for me is I have full control so if I want animated pop-up dialogs for example I can have them :lol: As long as the family is happy then I'm happy :D

User avatar
heyted
Senior
Posts: 109
Joined: Sun Jun 08, 2014 2:14 am
Location: South Florida
Contact:
United States of America

Re: Who fancies a video Advent Calendar exclusively for MythTV users?

Post by heyted » Fri Nov 29, 2019 1:39 am

Sounds very interesting. A MythTV frontend that can run on Windows would be appreciated by many people.
Ted | My blog

User avatar
pvr4me
Senior
Posts: 660
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: Who fancies a video Advent Calendar exclusively for MythTV users?

Post by pvr4me » Fri Nov 29, 2019 1:20 pm

Thanks Paul. Re platforms, I literally don't know what platforms can be supported with QML. iOS and Android? iPad? AppleTV and other streaming boxes? To me, that is (was?) the major opportunity with the WebFrontend--the potential to be able to access recordings from any device which could understand HTML. Personally, I think this lack is one of the things that makes Myth seem "old" to a lot of people out there.

BTW, does your frontend re-encode Myth's recordings or does it expect the network to keep up?

Craig
The MacPorts guy.

User avatar
paulh
Developer
Posts: 442
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Who fancies a video Advent Calendar exclusively for MythTV users?

Post by paulh » Sat Nov 30, 2019 12:06 pm

For streaming from MythTV I use the same mythcpp library that Kodi uses which uses the Services API and the mythprotocol for communication with the myth backend. So you get the raw un-encoded source from the backend no re-en-coding necessary. I want MythQML to be a replacement for the regular mythfrontend but with added extras that I want. It's not a web client or anything like that.

My philosophy is to re-use existing software where possible, why re-invent a UI library when you have Qt/QML, why re-invent a decoding library when you have FFMPEG and libVLC the VLC SDK etc.

Post Reply