Forum

Full Version: Correct settings for playercorefactory.xml
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

I've a RPI4b2g and want to test vlc like external player.

I created playercorefactory.xml in \home\xbian with settings from this site [url=https://kodi.wiki/view/External_players] , but isn't working.
I saw in other place it's incorrect but I can't find the correct details for xbian platform.
Pls someone can help me?
Thks
(26th Jan, 2021 11:36 AM)Buzz Wrote: [ -> ]Hi,

I've a RPI4b2g and want to test vlc like external player.

I created playercorefactory.xml in \home\xbian with settings from this site [url=https://kodi.wiki/view/External_players] , but isn't working.
I saw in other place it's incorrect but I can't find the correct details for xbian platform.
Pls someone can help me?
Thks

why VLC, Buzz? features? familiarity/comfort factor?
Frankly, there's nothing the factory player in xbian can't do that VLC does. (actually, as I have a very basic audio system, I have had cravings for some compression and equalization like VLC...but maybe I haven't yet found an audio add-on that does what I'd like)
Maybe if you describe your particular scenario, someone can help you or show you a possibly better way within xbian. Help us help you?
This will never work, because Kodi does not run under X/Wayland and therefore the external players can not access the screen
Hi
gkusiak

It's a long history, can I put here the original tread from libreelec here? Or better write again?

Nachteule

But where's the problem exactly? RPI? xbian or whathelse?
Is it a deprecated function and the kodi wiki is out of date? Pls tell me.
Thks
(27th Jan, 2021 03:55 AM)Buzz Wrote: [ -> ]Hi
gkusiak

It's a long history, can I put here the original tread from libreelec here? Or better write again?


Thks
Summarize, give us the short story.
@Nachteule knows best, but hearing what you'd like to accomplish and why might get useful answers or options you may have never considered
Ok.

I need a simple stand alone solution: Non smart tv + rpi + wireless keyboard.for my elderly uncle. She need to see 2 places outdoor cameras.
I bought 1 Tptek WO1011EW to test. This appears in stream (rtsp:...) via vlc player in an old win computer, but doesn't in kodi itself.
I tryed with surveillance camera add-on and strm file (with libreelec) without any results. They were kind in their forum but don't answered my questions clearly. Their best guest was raspbian + kodi.
So i found your solution and the possibility of put vlc in backgorund. I'm not an IT expert so I thought been possble to use vlc that I saw working with my camera, under an uncomplicated behavior.
The weird situation is that with an old indoor camera (wanscan), kodi works perfect.
The error in log file is: "ERROR: OpenDemuxStream - Error creating demuxer"
thks

the complete part of error in log file:

2021-01-22 23:15:05.658 T:2983791904 NOTICE: VideoPlayer::OpenFile: rtsp://192.168.0.14:554/12
2021-01-22 23:15:05.659 T:2564882640 NOTICE: Creating InputStream
2021-01-22 23:15:05.659 T:2564882640 NOTICE: Creating Demuxer
2021-01-22 23:15:08.709 T:2564882640 ERROR: OpenDemuxStream - Error creating demuxer
2021-01-22 23:15:08.709 T:2564882640 NOTICE: CVideoPlayer::OnExit()
2021-01-22 23:15:08.718 T:2983791904 NOTICE: CVideoPlayer::CloseFile()
2021-01-22 23:15:08.718 T:2983791904 NOTICE: VideoPlayer: waiting for threads to exit
2021-01-22 23:15:08.718 T:2983791904 NOTICE: VideoPlayer: finished waiting
2021-01-22 23:15:08.763 T:2983791904 WARNING: OnMessage: Suspiciously long time to handle GUI_MSG_PLAYBACK_STARTED (3.08s)
Hi, the part of log shows what I need to fix(last line):

2021-01-22 22:14:19.718 T:2983791904 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
2021-01-22 22:14:19.718 T:2983791904 NOTICE: Loaded playercorefactory configuration
2021-01-22 22:14:19.718 T:2983791904 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
2021-01-22 22:14:19.719 T:2983791904 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
thks
Where did you put the playercorefactory.xml file?

It has to be in /home/xbian/.kodi/userdata/
Hi,
Nachteule
It has to be in /home/xbian/.kodi/userdata/

thank you, i moved for correct directory, but is has now a syntax error I can't resolve for myself:

Line Number 8, Column 11:
</rules action="prepend">
----------^

My file is like wiki model with little adjusts:

...
</players>
</rules action="prepend">
<rule video="true" player="VLC" />
<rule filetype="strm" player="VLC" />
</rules>
</playercorefactory>

thks
Hi,

I got another error after adjust playercorefactory.xml

2021-01-30 23:05:21.397 T:2983578912 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
2021-01-30 23:05:21.398 T:2983578912 NOTICE: Loaded playercorefactory configuration
2021-01-30 23:05:21.398 T:2983578912 NOTICE: Loading player core factory settings from special://profile/playercorefactory.xml.
2021-01-30 23:05:21.398 T:2983578912 WARNING: CPlayerCoreFactory::GetPlayer(VLC): no such player: VLC
2021-01-30 23:05:21.398 T:2983578912 NOTICE: Loaded playercorefactory configuration

I did install via apt get install without erros, but the the problem apparently is in the path of vlc, I copied the example from kodi wiki
page: <filename>/usr/bin/vlc</filename>
Someone knows the correct path, pls.
ssh in your XBian and type

Terminal

which vlc

Then you'll get the answer
(2nd Feb, 2021 07:38 AM)Nachteule Wrote: [ -> ]ssh in your XBian and type

Terminal

which vlc

Then you'll get the answer

Hi

Bad news
the answer is exactly equal (/usr/bin/vlc)
what more can I do?
Thks
No bad news, but what i expected and had already told you here

As you have already been told in the LE thread, Kodi is not suitable for this and Raspberry Pi without X/Wayland even less so.

My tip: Install Pi-OS with the graphical user interface and then run 2x the VLC.
(3rd Feb, 2021 10:55 PM)Nachteule Wrote: [ -> ]No bad news, but what i expected and had already told you here

As you have already been told in the LE thread, Kodi is not suitable for this and Raspberry Pi without X/Wayland even less so.

My tip: Install Pi-OS with the graphical user interface and then run 2x the VLC.

Hi,

You're been very nice with me.

Even though I'm just a dummy, imagination is not lacking.

But I can't change the tv screen,nor abandon the keyboard point and click. Who's will use it barely sees anymore.

Sorry, I only searched now to understand what is wayland, but I searched before that xbian is a complete linux distribution under kodi.

So I wondered two new scenarios:

A way to send my "point and click kodi shortcut" do second hdmi port with enabled xwayland/x.org/vlc running in background.

Enable xwayland boot in xbian and install for example kodi-wayland_18.9-dmo1_arm64.deb and start it automatically.

Thks.
(3rd Feb, 2021 10:55 PM)Nachteule Wrote: [ -> ]No bad news, but what i expected and had already told you paper io
As you have already been told in the LE thread, Kodi is not suitable for this and Raspberry Pi without X/Wayland even less so.
My tip: Install Pi-OS with the graphical user interface and then run 2x the VLC.
In the realm of multimedia players, one crucial element often overlooked by users is the proper configuration of the playercorefactory settings. These settings play a pivotal role in ensuring a smooth and enjoyable media playback experience.
Pages: 1 2
Reference URL's