C++ PVR with inputstream.adaptive

Hi, I am trying to build a "native" pvr addon which could open stream with inputstream adaptive interface.

I use a python addon version for doing that right now but I want to move to "native' for better epg integration.

For now I can't find out how I can implement this. Do I simply need to add inputsream add-ons parameter on the channel.strStreamURL or something else?

Some guidances will be very helpful.

thanks

Metropolis 3.4.3 small font issue!

Hi Jingai,

I installed Metropolis 3.4.3 and I don't know if my eyes are playing tricks on we or what but the font size has gotten smaller for the "finish time" and "playing and total time" as well.

Any chance you can make both of them a little bigger again and a little closer to the size they were before? Because they are kind of hard to see now unless I am really sit close to the TV.

Did you make them smaller or did my eyes get worse over night? Smile lol

Thanks

Streams not showing in the right ratio

Hi there,

I'm having a big issue with streams on my android box, they are coming out all squished like its trying to display them on a mobile thats vertical kodi its self shows full screen and properly its just the streams that dont, i have tested the streams online and know they they are the correct ratio so i think it must be kodi but for the life of me i cannot change the ratio settings

[Image: IMG_20170630_184834.jpg]

NFO files containing a mix of XML and URL

http://kodi.wiki/view/NFO_files/Movies

Video .nfo files containing a mix of XML and URL

"By default the xml entry is added to the scraped entry in the database and may result in some duplicates."

This is exactly the action that I want ... and it doesn't happen for actors. When I try to add actors using and NFO all the original actors disappear.

I used the following:

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<Movie>
    <actor>
        <name>Gipper</name>
        <role>TestActor</role>
        <order>0</order>
        <thumb>smb://KODI-PC/K/Movies/Gipper.jpg</thumb>
    </actor>
</Movie>
https://www.themoviedb.org/movie/389

...and I only ended up with Gipper.

Perhaps this is a bug and not a feature request but I don't see where to report bugs.

MC

NFO files containing a mix of XML and URL

http://kodi.wiki/view/NFO_files/Movies

Video .nfo files containing a mix of XML and URL

"By default the xml entry is added to the scraped entry in the database and may result in some duplicates."

This is exactly the action that I want ... and it doesn't happen for actors. When I try to add actors using and NFO all the original actors disappear.

I used the following:

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<Movie>
    <actor>
        <name>Gipper</name>
        <role>TestActor</role>
        <order>0</order>
        <thumb>smb://KODI-PC/K/Movies/Gipper.jpg</thumb>
    </actor>
</Movie>
https://www.themoviedb.org/movie/389

...and I only ended up with Gipper.

Perhaps this is a bug and not a feature request but I don't see where to report bugs.

MC

Kodi 17.3 – Episodes (TVShows) watched status propertys not updated

After watching an episode of a TV Show and returning from player (fullscreen) to library automatically (via kodi as default when episode ends; normal), these propertys aren't updated until library returns to TV Shows level.

OR at least it isn't updating for python to use, ie.

Code:
stot = int(xbmc.getInfoLabel('ListItem.Property(TotalEpisodes)'))
wtot = int(xbmc.getInfoLabel('ListItem.Property(WatchedEpisodes)'))

I see no change in these propertys unless I navigate to show level then re-enter seasons/episodes levels.

[has been like this previous to kodi 17.3, not sure if same in Jarvis]

Kodi 17.3 – Episodes (TVShows) watched status propertys not updated

After watching an episode of a TV Show and returning from player (fullscreen) to library automatically (via kodi as default when episode ends; normal), these propertys aren't updated until library returns to TV Shows level.

OR at least it isn't updating for python to use, ie.

Code:
stot = int(xbmc.getInfoLabel('ListItem.Property(TotalEpisodes)'))
wtot = int(xbmc.getInfoLabel('ListItem.Property(WatchedEpisodes)'))

I see no change in these propertys unless I navigate to show level then re-enter seasons/episodes levels.

[has been like this previous to kodi 17.3, not sure if same in Jarvis]

Internal vs External subtitles

Hi,

Assume a movie that has an internal subtitle (within the video file) but also an external srt file in another language in the same folder.
When starting this movie, Kodi always automatically selects the external srt file.

Is there any way to make it always load the internal subtitle automatically ?

Thanks!

Refresh Library without loosing watched state

Hi

My setup

Kodi 17.1 (Windows and Libreelec)
Mysql DB
Movies / TV Shows on NAS
TMM (tinymediamanager)

I manage my movies/series with tmm resulting in NFO files in each movie folder/for each episode. I added movies and series into the kodi library. Later, I sometimes change some of the NFO files. In the case of only a few changes I can refresh the movies/episodes manually.

But if a have to change a lot, I tried to set the series content to none, remove the informations from the library and set the content back to local NFO files and rescan the library. Doing it this way I loose all my watched/not watched status.

How can I reload a lot of NFO files into the library without loosing the watched status? Is there an addon/feature or something else?

This is the only pain I have with Kodi, would be nice to have a easier way to rescan NFO files.

Thanks for your help!

Cant see some a folder on Storage

Hi,

I'm setting up a Raspberry Pi 3 with LibreELEC from scratch.

I have a load of backdrops which I'd like to use. I copy the folder 'Backdrops' using WinSCP into /Storage

But in Kodi, when I use File Manager to browse Storage, I can see folders such a Backup, Lost+Found, Music etc, but no Backdrops folder.

There are also a few more folders I can see in WinSCP, but are not shown in Kodi such as emulators and picons.

I guess its hidden some how? Is there some sort of setting I'm missing?

Thanks.

Kodi won’t play movies from my USB stick

I have a Kodi box version 5.1 and I've been downloading to my USB stick a few movies.
Every time I connect the USB stick to my Kodi box, all of my movies are gone. It finds my USB stick, but when I click to open the movie folder, there's nothing there.
Then, when I connect the USB to my PC, they're still gone. It's as if the Kodi box is deleting my movies.
I've also tried with a few other sticks I own and it does this every time.
What can I do so it will stop deleting my movies as I plug my USB to the Kodi box?
Thanks in advance!

Addon for info screen?

Can anyone help me find an addon for an information screen. Right now I'm using the weather app with RSS feed on top, like this:
[Image: 2lnycya.jpg]

Would like to be able to show weather info, insert RSS-feeds so news can be read, and hopefully a little more customizable than what I have now Smile
Also, a "custom text" module would be nice.

Random Stop on Kodi All Version

Hi, i have a smart box tv "PLUNK S"
CPU Rockchip RK3188 quad-core Cortex-A9 a 1,6 GHz
GPU Mali 400 at 600 MHz
RAM 2 GB
8 GB rom
webcam
Bluetooth 4.0, Wi-Fi b/g/n
4 USB / 1 OTG
slot Mini SD
HDMI
AV out
OPTICAL
ethernet

unluckily the Itali­an company has failed then i can't get support for it.

actually i have a fw based on Android 4.4.2.

i can't use Kodi and other similar apps because when a movie is playing, after a random time the movie stop and return to menu.

i have already tried to use different version, nothing is changed.
i have checked with root and without root
i have checked network and buffer when stop happen, but it's all ok.
i have tried with different add-on
i have flashed two original roms
i have done an hard reset
i have changed Dns

i have done all this, but nothing is happen.

i can use youtube, Netflix and others apps, while kodi & similar no because the movie stopped after a random time, usually each 29min.

Someone can help me please? Confused

KODi – pass a modified file source parameter to external player?

Greetings,

I've been struggling for more than half-an-year to achieve comfort in watching videos via KODi on a Philips NON-ROOTED Android TV (Lollipop 5.1) with pass-through multi-channel audio (AC3, DTS).
Not successful, of course.
Therefore,
I started looking for a workaround solution by using an external (for KODi) player - the "embedded" in the Philips TV media player, which is ugly, but it appears that it's the only one for me, which does the trick with the pass-through to the AV receiver.
Following the available guidelines, I have pin-pointed the app for the "embedded" media player and set the playercorefactory.xml config for KODi.
However,
when the video source from KODi is passed to the external "embedded" media player - crash occurs every time.

According to the Android logcats from the TV, while making play attempt iterations,
I've determined the following differences:
  • when a video source is played from a file/media browser in the "embedded" media player:
    Quote:I/ActivityManager( 843): START u0 {act=android.intent.action.VIEW dat=file:///storage/emulated/legacy/Download/Video/the-lego-ninjago-movie-trailer-1_h1080p.mov typ=video/quicktime flg=0x10000000 cmp=org.droidtv.contentexplorer/.player.ExternalMediaPlaybackActivity} from uid 10094 on display 0
  • when the same video source is loaded from KODi in the "embedded" media player:
    Quote:I/ActivityManager( 843): START u0 {act=android.intent.action.VIEW dat=/storage/sdcard/Download/Video/the-lego-ninjago-movie-trailer-1_h1080p.mov typ=video/* pkg=org.droidtv.contentexplorer cmp=org.droidtv.contentexplorer/.player.ExternalMediaPlaybackActivity} from uid 10095 on display 0
My conclusion is that the "embedded" player cannot cope with the URL/URI parameter for the file source, which KODi is passing to it.
KODi log excerpt, IMHO, relevant to this is:

Quote:08:23:16.820 T:18446744072492805944 NOTICE: ExternalPlayer Filename: org.droidtv.contentexplorer
08:23:16.820 T:18446744072492805944 NOTICE: ExternalPlayer Tweaks: hideconsole (true), hidexbmc (true), islauncher (false), warpcursor ()
08:23:16.821 T:18446744072492805944 NOTICE: OpenFile: /storage/sdcard/Download/Video/the-lego-ninjago-movie-trailer-1_h1080p.mov
08:23:16.821 T:18446744072545548304 DEBUG: Thread ExternalPlayer start, auto delete: false
08:23:16.824 T:18446744072545548304 NOTICE: Process: Player : org.droidtv.contentexplorer
08:23:16.824 T:18446744072545548304 NOTICE: Process: File : /storage/sdcard/Download/Video/the-lego-ninjago-movie-trailer-1_h1080p.mov
08:23:16.824 T:18446744072545548304 NOTICE: Process: Content:
08:23:16.824 T:18446744072492805944 DEBUG: PlayFile: OpenFile succeed, play state 1
08:23:16.824 T:18446744072545548304 NOTICE: Process: Args : "file://"{1}
08:23:16.825 T:18446744072545548304 NOTICE: Process: Start
08:23:16.825 T:18446744072545548304 NOTICE: Process: Hiding Kodi window
08:23:16.826 T:18446744072492805944 DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0
08:23:16.840 T:18446744072495384928 DEBUG: Draining Audio
08:23:16.842 T:18446744072492805944 DEBUG: Percentage is 0.000000
08:23:16.891 T:18446744072545548304 DEBUG: Previous line repeats 1 times.
08:23:16.891 T:18446744072545548304 DEBUG: OnPlayBackStarted: play state was 1, starting 0
08:23:16.920 T:18446744072492805944 DEBUG: Percentage is 0.000000
08:23:16.949 T:18446744072510305504 DEBUG: Previous line repeats 1 times.
08:23:16.952 T:18446744072510305504 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Player.GetActivePlayers", "id": 1}
08:23:16.956 T:18446744072510305504 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "params": {"playerid": 1, "properties": ["title"]}, "method": "Player.GetItem", "id": 1}
08:23:17.019 T:18446744072545548304 NOTICE: ExecuteAppAndroid: org.droidtv.contentexplorer
08:23:17.020 T:18446744072510305504 DEBUG: GetMovieId (/storage/sdcard/Download/Video/the-lego-ninjago-movie-trailer-1_h1080p.mov), query = select idMovie from movie where idFile=1369
08:23:17.024 T:18446744072510305504 DEBUG: GetEpisodeId (/storage/sdcard/Download/Video/the-lego-ninjago-movie-trailer-1_h1080p.mov), query = select idEpisode from episode where idFile=1369
08:23:17.038 T:18446744072510305504 DEBUG: GetMusicVideoId (/storage/sdcard/Download/Video/the-lego-ninjago-movie-trailer-1_h1080p.mov), query = select idMVideo from musicvideo where idFile=1369
08:23:17.041 T:18446744072492805944 DEBUG: Percentage is 0.000000
08:23:17.099 T:18446744072492818592 DEBUG: Previous line repeats 2 times.
08:23:17.100 T:18446744072492818592 DEBUG: GetMovieId (/storage/sdcard/Download/Video/the-lego-ninjago-movie-trailer-1_h1080p.mov), query = select idMovie from movie where idFile=1369
08:23:17.104 T:18446744072492818592 DEBUG: GetEpisodeId (/storage/sdcard/Download/Video/the-lego-ninjago-movie-trailer-1_h1080p.mov), query = select idEpisode from episode where idFile=1369
08:23:17.110 T:18446744072492818592 DEBUG: GetMusicVideoId (/storage/sdcard/Download/Video/the-lego-ninjago-movie-trailer-1_h1080p.mov), query = select idMVideo from musicvideo where idFile=1369
08:23:17.120 T:18446744072492818592 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
08:23:17.121 T:18446744072492818592 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
08:23:17.189 T:18446744072492805944 DEBUG: Percentage is 0.000000

Played with the arguments in the playercorefactory.xml, but obviously my coding skills are little to none:

Code:
<playercorefactory>
        <players>
                <player name="Media" type="ExternalPlayer" audio="true" video="true">
                    <filename>org.droidtv.contentexplorer</filename>
                    <args>"-d file://"{1}</args>
                    <hidexbmc>true</hidexbmc>
                    <hideconsole>true</hideconsole>
                    <playcountminimumtime>120</playcountminimumtime>
                </player>
        </players>
        <rules action="prepend">
                <rule protocols="smb" player="CHOOSE PLAYER NAME HERE" />
                <rule dvdimage="true" player="CHOOSE PLAYER NAME HERE"/>
                <rule protocols="rtmp" player="CHOOSE PLAYER NAME HERE"/>
                <rule protocols="rtsp" player="CHOOSE PLAYER NAME HERE" />
                <rule protocols="sop" player="CHOOSE PLAYER NAME HERE" />
                <rule internetstream="true" player="CHOOSE PLAYER NAME HERE" />
                <rule video="true" player="Media"/> <!-- Default for anything else not listed -->
        </rules>
</playercorefactory>

So,
any hints and ideas how to form the "proper" URL/URI parameter, which the "embedded" player could load?

Thank you in advance for your opinions,
apologies for duplicating any already existing discussion on the matter.

Library updates without Internet?

Hi all,

I've searched and have not been able to find any ideas on how to solve my particular problem. I have a friend who I've built a Pi3 box for with an external HDD storing media. They live in the country with no available internet options (outside of satellite, yuck) and are older and not very tech savvy. The setup has worked beautifully for them, however updates are a pain as I have to physically return to the Pi and HDD back to my place to add media and then update the library.

Here's my question: What would be the best way for me to bring a flash drive to their house with new media as well as the database/metadata/artwork and be able to apply those updates to the existing system? I'm comfortable writing and using simple shell scripts, and I hope I'm able to do what I want using this. Can anyone lend me some direction to figure out a graceful way of updating their setup without dragging it back to a WAN?

Thanks in advance,
Eric

Need help with HTPC Hardware/Software Config

Hi,

This is my first post, so please excuse and advise if I posted to the wrong forum. I am interested in building an HTPC based on KODI with PVR capability for recording OTA content from terrestrial antenna. After several hours of research, I've narrowed down an initial configuration:

HARDWARE:
HTPC: ASUS Chromebox2-G095U
OTA Tuner: HAUPPAUGE WinTV-DualHD Dual USB 2.0 HD TV Tuner 1595
Storage: SEAGATE STX-GFD-USB3 2TB Drive

SOFTWARE:
OS: LibreElec
Frontend: KODI
PVR: TVHeadend

My main question is this: Is there enough "horse-power" in the ASUS Chromebox to use it as both a KODI client and to host PVR software to record content from the USB Tuner and store it to the USB external drive? Also, I would like to subscribe to a legal iptv service if the box can support that too. I have not purchased anything yet, but I have the USB drive from another project. Any advice is welcomed, as I am definitely a newbie and would like to get it right the first time if possible.

Thanks,
Dave