Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] Correct settings for playercorefactory.xml
Thank you for your donation

Pages (2): 1 2 Next »
Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: Correct settings for playercorefactory.xml
26th Jan, 2021, 11:36 AM
Post: #1
Buzz Offline
Registered
Posts: 8
Joined: Jan 2021
Reputation: 0
Correct settings for playercorefactory.xml
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
Find all posts by this user
26th Jan, 2021, 04:02 PM
Post: #2
gkusiak Offline
Registered
Posts: 176
Joined: Nov 2019
Reputation: 2
RE: Correct settings for playercorefactory.xml
(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?
Find all posts by this user
26th Jan, 2021, 05:18 PM
Post: #3
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Correct settings for playercorefactory.xml
This will never work, because Kodi does not run under X/Wayland and therefore the external players can not access the screen
Find all posts by this user
27th Jan, 2021, 03:55 AM
Post: #4
Buzz Offline
Registered
Posts: 8
Joined: Jan 2021
Reputation: 0
RE: Correct settings for playercorefactory.xml
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
Find all posts by this user
27th Jan, 2021, 04:34 AM
Post: #5
gkusiak Offline
Registered
Posts: 176
Joined: Nov 2019
Reputation: 2
RE: Correct settings for playercorefactory.xml
(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
Find all posts by this user
27th Jan, 2021, 06:06 AM
Post: #6
Buzz Offline
Registered
Posts: 8
Joined: Jan 2021
Reputation: 0
RE: Correct settings for playercorefactory.xml
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)
Find all posts by this user
29th Jan, 2021, 02:53 AM
Post: #7
Buzz Offline
Registered
Posts: 8
Joined: Jan 2021
Reputation: 0
RE: Correct settings for playercorefactory.xml
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
Find all posts by this user
29th Jan, 2021, 06:08 AM (This post was last modified: 29th Jan, 2021 06:13 AM by Nachteule.)
Post: #8
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Correct settings for playercorefactory.xml
Where did you put the playercorefactory.xml file?

It has to be in /home/xbian/.kodi/userdata/
Find all posts by this user
30th Jan, 2021, 11:06 AM
Post: #9
Buzz Offline
Registered
Posts: 8
Joined: Jan 2021
Reputation: 0
RE: Correct settings for playercorefactory.xml
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
Find all posts by this user
2nd Feb, 2021, 07:28 AM
Post: #10
Buzz Offline
Registered
Posts: 8
Joined: Jan 2021
Reputation: 0
RE: Correct settings for playercorefactory.xml
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.
Find all posts by this user
2nd Feb, 2021, 07:38 AM
Post: #11
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Correct settings for playercorefactory.xml
ssh in your XBian and type

Terminal

which vlc

Then you'll get the answer
Find all posts by this user
3rd Feb, 2021, 08:41 AM
Post: #12
Buzz Offline
Registered
Posts: 8
Joined: Jan 2021
Reputation: 0
RE: Correct settings for playercorefactory.xml
(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
Find all posts by this user
3rd Feb, 2021, 10:55 PM
Post: #13
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Correct settings for playercorefactory.xml
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.
Find all posts by this user
4th Feb, 2021, 02:19 AM
Post: #14
Buzz Offline
Registered
Posts: 8
Joined: Jan 2021
Reputation: 0
RE: Correct settings for playercorefactory.xml
(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.
Find all posts by this user
12th Jun, 2023, 06:45 PM
Post: #15
zetisonu Offline
Banned
Posts: 2
Joined: May 2023
RE: Correct settings for playercorefactory.xml
(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.
Find all posts by this user
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Thread Closed 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 12th May, 2025, 12:46 PM Powered By MyBB, © 2002-2025 MyBB Group.