VideoPlayer: expose stream player info to GUI - Info label names?
#1
Could somebody tell me the correct info label names for this new feature, please? Tried everything but nothing seems to work.

Code:
const infomap player_process[] =
{
{ "videodecoder", PLAYER_PROCESS_VIDEODECODER },
{ "deintmethod", PLAYER_PROCESS_DEINTMETHOD },
{ "pixformat", PLAYER_PROCESS_PIXELFORMAT },
{ "videowidth", PLAYER_PROCESS_VIDEOWIDTH },
{ "videoheight", PLAYER_PROCESS_VIDEOHEIGHT },
{ "videofps", PLAYER_PROCESS_VIDEOFPS },
{ "videodar", PLAYER_PROCESS_VIDEODAR },
{ "videohwdecoder", PLAYER_PROCESS_VIDEOHWDECODER },
{ "audiodecoder", PLAYER_PROCESS_AUDIODECODER },
{ "audiochannels", PLAYER_PROCESS_AUDIOCHANNELS },
{ "audiosamplerate", PLAYER_PROCESS_AUDIOSAMPLERATE },
{ "audiobitspersample", PLAYER_PROCESS_AUDIOBITSPERSAMPLE }
};

See:
https://github.com/xbmc/xbmc/pull/9976

I know it's weekend and I assume that Ronie wasn't able to update the changes thread until now, but I have some spare time atm and want to implement this infos. Maybe someone can help me out Smile
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#2
I was curious too so gave it a try with the July 3 nightly, but no luck for me either. I tried Player.VideoDecoder and Player.Process(videodecoder).
Reply
#3
(2016-07-03, 07:56)sualfred Wrote: I know it's weekend and I assume that Ronie wasn't able to update the changes thread until now, but I have some spare time atm and want to implement this infos. Maybe someone can help me out Smile

i have no weekends ;-)

to the best of my knowledge, these are VideoPlayer infolabels.
try VideoPlayer.VideoDecoder and so on...
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#4
(2016-07-03, 09:42)ronie Wrote: i have no weekends ;-)

to the best of my knowledge, these are VideoPlayer infolabels.
try VideoPlayer.VideoDecoder and so on...

Me neither, that's why I said some spare time Wink

Already tried a lot of combinations

No luck with:
VideoPlayer.XXX
Player.XXX
Player.Process(XXX)
VideoPlayer.Process(XXX)
ProcessInfo.XXX
etc.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#5
should be player_process.xxx
Reply
#6
(2016-07-03, 12:07)FernetMenta Wrote: should be player_process.xxx

Thanks, but something went wrong Wink

Label results:
videodecoder = Movie name
deintmethod = Movie genre
pixformat = a country value
videowidth = another movie name value
videofps = year or episodename

These and all the others are filled incorrectly.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#7
^. same here.
Reply
#8
(2016-07-03, 12:07)FernetMenta Wrote: should be player_process.xxx

Can I suggest we keep to the current standard?

Code:
VideoPlayer.xxx

Thanks.
Reply
#9
Try with latest master (still using player_process.xxx but should give the correct information now)
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#10
fix is in master, thanks to Memphiz
Reply
#11
(2016-07-03, 15:05)Hitcher Wrote:
(2016-07-03, 12:07)FernetMenta Wrote: should be player_process.xxx

Can I suggest we keep to the current standard?

Code:
VideoPlayer.xxx

Thanks.

Nope, because paplayer is not VideoPlayer
Reply
#12
I would suggest to use "Player.Process(%s)", but I'm fine with Player_Process.

Just the "_" is tingeling my OSD a bit Wink

Thanks for the fast fix.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#13
(2016-07-03, 16:01)sualfred Wrote: I would suggest to use "Player.Process(%s)", but I'm fine with Player_Process.

Just the "_" is tingeling my OSD a bit Wink

Thanks for the fast fix.

Can be changed. No a big deal.
Reply
#14
In my eyes - and to be consistent - it should be changed, because we do not have any other "Foo_Bar.XXX" info label.

It's up to you and the other team members.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#15
+1 to Player.Process(xxx) to keep consistency.

Or even Player.xxx
Reply

Logout Mark Read Team Forum Stats Members Help
VideoPlayer: expose stream player info to GUI - Info label names?0
This forum uses Lukasz Tkacz MyBB addons.