Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all 85183 articles
Browse latest View live

Announcement- Scraping from the TMDB is broken

$
0
0
Scraping from the TMDB is temporarily broken as the existing API key was revoked by the TMDB. This action is take by the TMDB receiving a revocation request from the MPAA due to illegal streaming addons stealing our API key.

The scapers have been updated to use a new key, in most cases the scraper should automatically update within 24 hrs.
However in some extreme cases the wait to be automatically updated may take up to 72 hrs.

New scraper versions:

TMDB Scraper
Gotham and above 4.1.4
Krypton and above 5.1.3

Universal Scraper
Gotham and above 2.9.8
Krypton 4.1.10
Leia 5.2.5

just enough os for older Mac pro?

$
0
0
Hi

I have an older Mac pro (circa 2008) that currently runs osx 10.6.8 and I can't upgrade the os. Wondering about installing a Kodi JEOS on this box to use as entertainment centre. Anyone know if I can do this and which os you'd recommend?

Thanks in advance

SMB with Xbox One cant connect to windows share?

$
0
0
I discovered the new SMB option and enabled it, but when i add the resource / path /user name etc.. it cant connect to my windows server.

Is the current SMB not compatible with Windows, is this why its not connecting or am I missing something else?

Thanks for any info

Plex and or Emby with Kodi MySQL database

$
0
0
Moderator...If this is in the wrong section, I apologize...could not decide where it belonged.

I have been a long time Kodi user and I now that to be able to stream my media when away from home.  As the subject indicates, I have a MySQL database that keeps everything sync'ed between all of the Kodi boxes.

I need some "first hand" information on which streaming platform to use and what to do with the MySQL database (i.e will I need to ditch the MySQl database or keep it in place).

Any and all information is welcome.

Thanks....

Linux - v18, no visualisations / screensavers work, projectM crashes

$
0
0
I built kodi v18 from git master along with the included version of projectM
hardware is a kaby lake  i5-7200U

there may be 2 different issues here but I'm not sure.
first: projectM crashes with
Code:
undefined symbol: _ZTI5Shape
like in https://forum.kodi.tv/showthread.php?tid=305558
so I tried the fork @ironic_monkey did but the error stayed the same.
I followed the build instructions closely and copied the resulting visualization.projectm.so.2.0.0 into /usr/local/lib/kodi/addons/visualization.projectm/visualization.projectm.so.2.0.0 so kodi could see it.


second:
goom, shadertoy, wave form, etc. all that came with kodi don't work safe for spectrum.
there is no error, not even in the debug log (at least none obvious to me)
it just show anything besides the blue/greenish shady background of the default theme.
spectrum shows jumpy columns.

also dim is the only sceeensaver that works. selecting an other one results in a black screen with the mouse pointer in the middle, there is no going back from that.

here's the reason why I compiled kodi v18 instead of using the one that came with debian testing: https://forum.kodi.tv/showthread.php?tid=331170

logs:

Code:
root@kodi:~# cat kodi_projectM.log | gist-paste -d 'projectM'
https://gist.github.com/50eafc0bd9e345ed...177c05a2d6
root@kodi:~# cat kodi_goom.log | gist-paste -d 'goom'
https://gist.github.com/beb674267400547f...a07f4f8f92

now I'm out of ideas Undecided

btw: has the GLEW / EGL patch been added to the original source? seems reasonable to me to do so as it is supposed to fix issues on intel hardware.

"No Signal" instead of jumping back to home screen after 20 seconds?

$
0
0
I'm using v3.4.5.2 with coreelec on a s905x box.
When i select a "dead" channel it hangs for about 20 seconds and then it jumps back to the home screen.
In theese 20 seconds i can do nothing. i can't switch to a working channel, etc.

No idea but, isn't it possible to detect a dead channel or channel with extreme low signal quality and then disconnect immediately and show a "no signal" message?

I need help to make a Kodi autologin under an Ubuntu distro (Like Kodibuntu)

$
0
0
The issue that i have is as follows:

I have been runing Kodibuntu 14 with Kodi 14 under it i use several add ons, You tube, acestream and Chrome web browser with advanced launcher, but the main issue that i have with Kodi 14 started when the last supported version of the youtube add on stopped playing some videos, it says videos don't exist, so, i decided it was time to update the system, while making something like a custom kodibuntu version of updating the distro from 14.04.1 to 16 o 18 testing different ubuntu variants (Linux Lite, Lubuntu, etc), i need that the system runs using maximum 5 gigs  so, this is that i have found and done so far:

First i started testing Linux Lite 64bits, i was looking for an ubuntu that was light on the system, once installed i opened the terminal and assigned a password to the boot:

- sudo passwd

After investigating a bit on google and several online forums i found out how to install the latest Kodi version on the terminal:

- sudo apt-get install software-properties-common
  sudo add-apt-repository ppa:team-xbmc/ppa
  sudo apt-get update
  sudo apt-get install kodi


Now that i had the latest Kodi version installed ,i started looking into how to run it from the start without going through Linux lite's desktop (autologin) and i found the following code:

- sudo adduser --disabled-password --disabled-login --gecos "" kodi 
  sudo usermod -a -G cdrom,audio,video,plugdev,netdev,users,dialout,dip,input kodi

- sudo nano /etc/lightdm/lightdm.conf
   (Inside the file i need to change the content to thisSmile

  [Seat:*]
  autologin-user=kodi
  autologin-session=kodi


So far so good, Kodi works and autoruns upon OS startup, but the issues started when i tried using Usb sticks on the system they didn't automount, so i started looking for a solution to this.
After looking so many different online forums i found "usbmount" that suppossedly could fix this issue, with it i got this code that would automount them:

- sudo apt-get update
- sudo apt-get install usbmount


And yeah, the code let me automount them, but then a new issue surfeced, it only recognized the USBs formatted using FAT or FAT32, the NTFS ones wouldn't appear, so, looking a bit into this i found it's necessary to add a few lines to the usbmount config file

Change this: FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus"
to this: FILESYSTEMS="vfat ext2 ext3 ext4 fuseblk ntfs hfsplus"

After this i was able to mount them, but them a new issue arised i could not open them, or see the directory in kodi or Linux lite's desktop so i thought i did something wrong and redid everything over a new install with the same results

It was then that i decided to test another distro, so i looked into what was the basis for Kodibuntu, later i found out it was based on Lubuntu so, i downloaded the  ISO for lubuntu 18 for 64 bits, did the same steps mentioned earlier and it did not work, it didn't recognize the USBs it did not matter if they were FAT or NTFS, apparently this program isn't compatible with newer Ubuntu versions, So i decided to download lubuntu version 16 for 64 bits, i installed it doing the whole process yet again and it worked, but with the same results i had with Linux lite, so i started searchin' if this was a bug and it turned out it was, and in the solution i found they had this code:

- Make file:
  Touch /etc/udev/rules.d/usbmount.rules

- Add the following lines to: /etc/udev/rules.d/usbmount.rules
  # Rules for USBmount -*- conf -*-
 KERNEL=="sd*", DRIVERS=="sbp2",         ACTION=="add",  PROGRAM="/bin/systemd-escape -p --template=usbmount@.service $env{DEVNAME}", ENV{SYSTEMD_WANTS}+="%c"
 KERNEL=="sd*", SUBSYSTEMS=="usb",       ACTION=="add",  PROGRAM="/bin/systemd-escape -p --template=usbmount@.service $env{DEVNAME}", ENV{SYSTEMD_WANTS}+="%c"
 KERNEL=="ub*", SUBSYSTEMS=="usb",       ACTION=="add",  PROGRAM="/bin/systemd-escape -p --template=usbmount@.service $env{DEVNAME}", ENV{SYSTEMD_WANTS}+="%c"
 KERNEL=="sd*",                          ACTION=="remove",       RUN+="/usr/share/usbmount/usbmount remove"
 KERNEL=="ub*",                          ACTION=="remove",       RUN+="/usr/share/usbmount/usbmount remove"

- Make file:
  touch /etc/systemd/system/usbmount@.service

- Add the following lines to: /etc/systemd/system/usbmount@.service
  [Unit]
  BindTo=%i.device
  After=%i.device

  [Service]
  Type=oneshot
  TimeoutStartSec=0
  Environment=DEVNAME=%I
  ExecStart=/usr/share/usbmount/usbmount add 
  RemainAfterExit=yes


Now the system was able to read the NTFS and i was able to check their contents via desktop and Kodi, but it was read only, the solution i found for this was to intall ntfs-3g that would let me to read and write, i did it as follows:

- sudo apt-get install ntfs-3g


After this i was able to read and write to the USBs, but the writings speed was really slow, like USB 1

Worth nothing the patch didnt work for me in Linux lite, just in Lubuntu.

With this issues fixed i decided to try and set my configuration as i had it in Kodibuntu 14

Fix HDMI sound for Chrome web browser

go into:
sudo nano /usr/bin/.asoundrc

add the following text there:

pcm.!default  {
type hw
card 0
device 3
}

Save (CTRL + O) and exit (CTRL + X)

go to preference/settings/audio output:
"Keep audio alive -> always" setting in Settings/Audio.. set it to Off, 
Play Gui Sounds = Never

+ 10 - Install Chrome:

- Install the Launcher program
* First of, you need to install the Launcher add on in the program menu.

- Create a launch script
mkdir scripts
cd scripts
sudo nano chrome.sh

Write the following code into the chrome.sh:
#!/bin/bash
fluxbox &
google-chrome
killall -9 fluxbox

Save (CTRL + O) and exit (CTRL + X)

Change file read/write settings by typing the following:
sudo chmod +x chrome.sh


- Download and install Chrome

For 64bits:
sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/googl..._amd64.deb
sudo dpkg -i ./google-chrome*.deb
sudo apt-get install -f

- Fix window size issue
sudo nano /usr/bin/kodi-standalone,and add "openbox &" (without the quotes) Before: APP=Kodi.
(will need to be reapplied if Kodi is updated)

Save (CTRL + O) and exit (CTRL + X)


- Hide Cursor:

(if unclutter is not downloaded, download it with: "wget mirrors.kernel.org/ubuntu/pool/main/u/unclutter/unclutter_8-18_amd64.deb" and execute in that folder: "sudo apt-get install unclutter")

if it is downloaded, execute:
sudo apt-get install unclutter

- Audio Mixer:

- alsamixer
(up master volume to 100% of the HD audio generic card)


install xdotool (to make youtube chrome launcher plugin works) [NOTE only if Leanback del Chrome Launcher don`t work]

- sudo apt-get install xdotool


- Remover Chrome:

go to scripts folder and delete chrome's installer with RM command: "rm google-chrome-stable_current_amd64.deb"


- Install Acestream:

echo 'deb http://repo.acestream.org/ubuntu/ trusty main' | sudo tee /etc/apt/sources.list.d/acestream.list
sudo wget -O - http://repo.acestream.org/keys/acestream.public.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install acestream-full (Note: this method is not working anymore, so i'm use "sudo apt-get install acestream-engine")


- Plexus Config:

  Install Plexus add-on and after that configure it as follows :
go into the plexus config and look in acestream. go to the first local tab and in the second one :acestream_engine
Open Plexus add-on and when it asks if we are using OpenELEC, select "NO"


  So far so good, Kodi works, as well as chrome, but when i get to the acestream part that's when the issues start again, no channel loaded anymore and acestream returned the error "Fail to open file", after that i did a fresh install of lubuntu and i installed kodi with autologin after that i just intalled acestream tested it and channels did load so it was clear to me that acestream wasn't the cause of the issues, so i started checking every single code line of my previous install because everything worked great with Kodibuntu 14, after a while i found out that the"fail to open file" ocurred when i installed chrome web browser:

wget https://dl.google.com/linux/direct/googl..._amd64.deb
sudo dpkg -i ./google-chrome*.deb
sudo apt-get install -f

  From here acestream stopped working, i don't know what else to do to avoid this conflict between acestream and chrome.
I would be really grateful if someone here can help me to fix this issue 
i'm open to suggestions regarding what to do or alternatives to improve this method and get it to work better. 

I am very new to this and I need you to explain me in detail step by step with code how to fix the problem.

Thanks!

Linux - Wayland Support on Intel Coffelake, Kodi 17.6, Ubuntu 18.04 ?

$
0
0
Using Kodi through Ubuntu-Wayland, all runs fine excepted for the following two issues:
1. Video playback is behaving strangely. Noted some frame dropping during rapid video motion. It goes away (most of the time) if I pause the video and play again. I noted the same behaviour when runnin Kodi standalone (from 'Kodi login' ... perhaps that uses Wayland as well instead of X11?). No such issue when running Kodi from regular X11 desktop (Metacity login) but I get picture tearing (composite desktop).

2. If I switch the TV off and back on again a few hours later (leaving Kodi running) I get a black screen. I need to do a CTRL-ALT-DEL to logout or CTRL-ALT-F3 to get a terminal CLI and kill Kodi. CTRL-ALT-F1 and F2 do not drop me into a VT session (black screen)?

On another matter, when using Kodi standalone (Kodi login) and 'Exit' restarts Kodi instead of returning to Login screen?

Thanks for your help and support Team Kodi!
HW: Intel Gen-8 i5, 8GB RAM, onboard Intel graphics, Coffeelake
SW: Kodi 17.6, Ubuntu 18.04

GET VAR

$
0
0
Hi everybody,

I like to use mimic with livestreams.

I like to get the variable from livestreams settings file, see below red marked line.

My mainmenu.DATA.xml file.

Code:

<shortcuts><shortcut><defaultID>movies</defaultID><label>SENDER 1</label>
<label2>Benutzerdefinierte Einträge</label2><icon>DefaultMovies.png</icon><thumb>DefaultMovies.png</thumb>
<action>ActivateWindow(Videos,"plugin://plugin.video.live.streams/?url=http%3A%2F%2Fdomain.com%2Fitest2Fsender1.php%3Fusername%3D$VAR[xbmcaddon.Addon('plugin.video.live.streams').getSetting('user')]%26pass%3D$VAR[xbmcaddon.Addon('plugin.video.live.streams').getSetting('password')]&amp;mode=1&amp;name=SENDER+1&amp;fanart=%2Fstorage%2Femulated%2F0%2FAndroid%2Fdata%2Forg.xbmc.kodi%2Ffiles%2F.kodi%2Faddons%2Fplugin.video.live.streams%2Ffanart.jpg",return)</action>
</shortcut></shortcuts>

How can I do that ? It doesn't work.

Because mimic import the script " script.toolbox, I tried also with this code in script.toolbox default.py and get it with $VAR and it doesn't work also. See below red marked line.


Code:

ADDON = xbmcaddon.Addon()   ADDON_VERSION = ADDON.getAddonInfo('version')   ADDON_LANGUAGE = ADDON.getLocalizedString
ADDON_PATH = ADDON.getAddonInfo('path').decode("utf-8")   EXTRAFANART_LIMIT = 4   EXTRATHUMB_LIMIT = 4   HOME = xbmcgui.Window(10000)
ADDON_EXTRA= xbmcaddon.Addon('plugin.video.live.streams')
ADDON_USER= ADDON_EXTRA.getSetting('user')
ADDON_PASSWORD= ADDON_EXTRA.getSetting('password')


in this case I get the variable in mainmenu with this code, see below red marked line.

Code:

<action>ActivateWindow(Videos,"plugin://plugin.video.live.streams/?url=http%3A%2F%2Fdomain.com%2Fitest2Fsender1.php%3Fusername%3D$VAR[ADDON_USER]%26pass%3D$VAR[ADDON_PASSWORD]&amp;mode=1&amp;name=SENDER+1&amp;fanart=%2Fstorage%2Femulated%2F0%2FAndroid%2Fdata%2Forg.xbmc.kodi%2Ffiles%2F.kodi%2Faddons%2Fplugin.video.live.streams%2Ffanart.jpg",return)</action>

In my livestreams settings file my code is :

Code:

    <setting id="user" value="benutzer" />

    <setting id="password" value="passwort" />

thx a lot.

Inspiron i3050 good for Kodi and more?

$
0
0
Hello everyone I could use some advice about getting Kodi. We have a Roku 3 now and use it often. So have been looking at the vast choices in Minix, AMlogic9xx etc  and they seem like good choices but it would be great if they also functioned as a pc. I read a lot on this forum and these boxes are convenient to use with their remotes so hate to give that up but want the pc side also. Our LG tv has a browser but having a pc will be better sometimes. The LG 49 UH 6030 is connected to the Onkyo NR 626 with ARC HDMI and we have 5.1 surround speakers. No cable but the RCA rabbit ears bring in a bunch of channels in the DFW area.
I found a Dell Inspiron i3050 mini Intel 2.5 mghz 2 gig 32 ssd win 8.1. It is HD audio capable right? Not HDR though but that is ok.
My questions are:
Does it do auto frame rate switching?
Should it use a Linux os instead of the win 8.1?
Will it work well for Kodi?
Are the wireless key board with mouse pad units the easiest way to control this pc?
I recently got a great deal on a OptiPlex 760 with windows 7 that is placed about 20 feet from the living room home theatre equipment and is connected with cat 5 to the router in the media console. My plan is to get a tuner in the 760 and an antennae to use wmc for ota recording. So the Inspiron i3050 could be used for Kodi, pc and stream recordings from the 760 to the LG. Will this work reliably and simply? I appreciate any comments and suggestions. My experience with this is very limited so thanks in advance for your help.

Couple of issues in Kodi

$
0
0
Hi Guys,

Need your kind help, I have a Dell Optiplex 755 and is using an integrated graphics on Windows10. I have installed Kodi and i noticed that i see a couple of issues:

1. When I play a video, I can hear the sound but no image, just a blurrish screen
2. Some fonts in the kodi interface shows as garbled

[Image: Kodi%20Issue.png]

Appreciate your kind assistance on this.

how to updat scrapers

$
0
0
Hi 

I keep geting unabel to conect to remote server. I saw a post saying updating the scraper will fix that. How do I update the scrapers ?

Couldn't Download Information

$
0
0
When I try to update my library I got a "Couldn't download information" error.  Searching the forums the latest I found was back in 2017 and it said to update the add-ons.  I did as it said and I updated the add-ons including the dependencies.  The version numbers:

Kodi 17.6 Git:20171114-a9a7a20
TMDB Scraper Library 3.14
TMDB 5.1.2
TMDB TV show Scraper 2.0.3
The TVDB 3.0.1

Is there an add-on or dependency I've missed?  If not, what could the problem be?

Log is uploaded to https://paste.kodi.tv/uqejisibob

[split] Xonfluence (Krypton v17.x & Leia v18.x)

$
0
0
Hi Helly, re subtitles not working. I tried Rapier, Aeon Nox and Estuary, all of these work fine with the subtitles popup. I also disabled DVD cases and Volume buttons to ensure no possible clash. I believe subtitles were working in your 3.4 version but not in the 4.0 version (at least for me). I did a quick cut and paste of the log file - see below. I played a movie, hit the subtitle and nothing happens. The movie continues to play (is not paused) and not subtitle popup is shown. I trust this helps, I tried it a couple of times to see if the log generated the same issues.

11:21:03.868 T:6252 WARNING: Attempt to use invalid handle 4
11:21:06.271 T:6448  NOTICE: [Artist Slideshow] script version 2.1.2 started
11:21:06.271 T:6448  NOTICE: [Artist Slideshow] debug logging set to false
11:21:06.271 T:6448  NOTICE: [Artist Slideshow] script stopped
11:21:08.132 T:4560  NOTICE: script.tv.show.next.aired: ### TV Show - Next Aired starting GUI proc (6.0.15)
11:21:08.377 T:3148   ERROR: XFILE::CDirectory::GetDirectory - Error getting \
11:21:08.542 T:3148  NOTICE: script.module.metadatautils --> Rate limiter active for omdbapi.com - delaying request with 2 seconds - Configure a personal API key in the settings to get rid of this message and the delay.
11:21:10.003 T:7820  NOTICE: script.module.metadatautils --> Rate limiter active for themoviedb.org - delaying request with 4 seconds - Configure a personal API key in the settings to get rid of this message and the delay.
11:21:11.362 T:3148  NOTICE: script.module.metadatautils --> Rate limiter active for themoviedb.org - delaying request with 5 seconds - Configure a personal API key in the settings to get rid of this message and the delay.
11:21:11.651 T:7872  NOTICE: VideoPlayer::OpenFile: F:\Movies\The Amazing Spiderman 2012.avi
11:21:11.652 T:108  NOTICE: Creating InputStream
11:21:11.658 T:108  NOTICE: Creating Demuxer
11:21:11.660 T:3652  NOTICE: PrimeWire: Service: Playback started
11:21:12.040 T:108  NOTICE: Opening stream: 0 source: 256
11:21:12.040 T:108  NOTICE: Creating video codec with codec id: 13
11:21:12.040 T:108  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
11:21:12.040 T:108  NOTICE: Creating video thread
11:21:12.041 T:108  NOTICE: Opening stream: 1 source: 256
11:21:12.041 T:108  NOTICE: Finding audio codec for: 86019
11:21:12.041 T:928  NOTICE: running thread: video_thread
11:21:12.041 T:108  NOTICE: Creating audio thread
11:21:12.041 T:7296  NOTICE: running thread: CVideoPlayerAudio:Tonguerocess()
11:21:12.041 T:7296  NOTICE: Creating audio stream (codec id: 86019, channels: 6, sample rate: 48000, no pass-through)
11:21:12.042 T:928  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
11:21:12.349 T:928  NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000
11:21:12.608 T:4720  NOTICE: script.module.metadatautils --> Rate limiter active for themoviedb.org - delaying request with 5 seconds - Configure a personal API key in the settings to get rid of this message and the delay.
11:21:17.152 T:3148  NOTICE: script.module.metadatautils --> Rate limiter active for themoviedb.org - delaying request with 4 seconds - Configure a personal API key in the settings to get rid of this message and the delay.
11:21:18.311 T:4720  NOTICE: script.module.metadatautils --> Rate limiter active for themoviedb.org - delaying request with 5 seconds - Configure a personal API key in the settings to get rid of this message and the delay.
11:21:33.221 T:7872  NOTICE: CVideoPlayer::CloseFile()
11:21:33.221 T:7872  NOTICE: VideoPlayer: waiting for threads to exit
11:21:33.223 T:108  NOTICE: CVideoPlayer::OnExit()
11:21:33.223 T:108  NOTICE: Closing stream player 1
11:21:33.223 T:108  NOTICE: Waiting for audio thread to exit
11:21:33.243 T:7296  NOTICE: thread end: CVideoPlayerAudio::OnExit()
11:21:33.243 T:108  NOTICE: Closing audio device
11:21:33.259 T:108  NOTICE: Deleting audio codec
11:21:33.259 T:108  NOTICE: Closing stream player 2
11:21:33.259 T:108  NOTICE: waiting for video thread to exit
11:21:33.308 T:928  NOTICE: thread end: video_thread
11:21:33.308 T:108  NOTICE: deleting video codec
11:21:33.310 T:7872  NOTICE: VideoPlayer: finished waiting
11:21:33.310 T:7872  NOTICE: CVideoPlayer::CloseFile()
11:21:33.310 T:7872  NOTICE: VideoPlayer: waiting for threads to exit
11:21:33.310 T:7872  NOTICE: VideoPlayer: finished waiting
11:21:33.396 T:8164  NOTICE: APEP Common Routines: Now I'm stopped at 0%
11:21:33.463 T:8148   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: 'tvshowid'
                                            Traceback (most recent call last):
                                              File "C:\Users\Media Centre\AppData\Roaming\Kodi\addons\script.lazytv\service.py", line 357, in onPlayBackStopped
                                                pre_showid  = Main.nextprompt_info['tvshowid']
                                            KeyError: 'tvshowid'
                                            -->End of Python script error report<--
11:21:33.477 T:3652  NOTICE: PrimeWire: Service: Playback Stopped
11:21:33.477 T:3652  NOTICE: PrimeWire: Service: Resetting...
11:21:34.625 T:7312  NOTICE: script.tv.show.next.aired: ### TV Show - Next Aired starting GUI proc (6.0.15)
11:21:35.768 T:6088   ERROR: XFILE::CDirectory::GetDirectory - Error getting library%3a%2f%2fvideo%2frecentlyaddedmovies.xml%2f/
11:21:35.768 T:6088   ERROR: Previous line repeats 3 times.
11:21:35.768 T:6088   ERROR: XFILE::CDirectory::GetDirectory - Error getting RecentMovies
11:21:38.971 T:7368   ERROR: Previous line repeats 3 times.
11:21:38.971 T:7368  NOTICE: [Artist Slideshow] script version 2.1.2 started
11:21:38.971 T:7368  NOTICE: [Artist Slideshow] debug logging set to false
11:21:38.971 T:7368  NOTICE: [Artist Slideshow] script stopped
11:21:52.697 T:7872   ERROR: CPythonInvoker(113, C:\Users\Media Centre\AppData\Roaming\Kodi\addons\plugin.program.indigo\default.py): script didn't stop in 5 seconds - let's kill it
11:21:52.697 T:7872 WARNING: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
11:21:53.787 T:8176 WARNING: Previous line repeats 1 times.
11:21:53.787 T:8176   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.SystemExit'>
                                            Traceback (most recent call last):
                                              File "C:\Users\Media Centre\AppData\Roaming\Kodi\addons\plugin.program.indigo\TextViewer.py", line 53, in onAction
                                                def onAction(self, action):
                                            SystemExit
                                            -->End of Python script error report<--
11:22:34.591 T:3768  NOTICE: AddOnLog: PVR IPTV Simple Client: EPG Loaded.
11:23:29.853 T:8176 WARNING: Attempt to use invalid handle 6
11:23:32.890 T:5752  NOTICE: [Artist Slideshow] script version 2.1.2 started
11:23:32.890 T:5752  NOTICE: [Artist Slideshow] debug logging set to false
11:23:32.890 T:5752  NOTICE: [Artist Slideshow] script stopped
11:23:36.006 T:7872  NOTICE: VideoPlayer::OpenFile: F:\Movies\The Amazing Spiderman 2012.avi
11:23:36.009 T:6816  NOTICE: Creating InputStream
11:23:36.009 T:6816  NOTICE: Creating Demuxer
11:23:36.076 T:3652  NOTICE: PrimeWire: Service: Playback started
11:23:36.268 T:6816  NOTICE: Opening stream: 0 source: 256
11:23:36.268 T:6816  NOTICE: Creating video codec with codec id: 28
11:23:36.268 T:6816  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
11:23:36.268 T:6816  NOTICE: Creating video thread
11:23:36.268 T:6816  NOTICE: Opening stream: 1 source: 256
11:23:36.268 T:6816  NOTICE: Finding audio codec for: 86018
11:23:36.269 T:6816  NOTICE: Creating audio thread
11:23:36.277 T:7440  NOTICE: running thread: CVideoPlayerAudio:Tonguerocess()
11:23:36.277 T:7440  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
11:23:36.285 T:6732  NOTICE: running thread: video_thread
11:23:36.747 T:7872  NOTICE: CWinRenderer::SelectRenderMethod: rendering method forced to DXVA processor.
11:23:36.747 T:7872 WARNING: DXVA::CProcessorHD::InitProcessor: The video driver does not support full video processing capabilities.
11:23:36.747 T:7872  NOTICE: DXVA::CProcessorHD::InitProcessor: Supported deinterlace methods: Blend:no, Bob:yes, Adaptive:no, MoComp:no.
11:23:36.763 T:7872 WARNING: CWinRenderer::UpdateVideoFilter: chosen scaling method 1 is not supported by renderer
11:23:36.981 T:6732  NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 33333
11:23:38.530 T:4720  NOTICE: script.module.metadatautils --> Rate limiter active for themoviedb.org - delaying request with 4 seconds - Configure a personal API key in the settings to get rid of this message and the delay.
11:23:44.425 T:7872  NOTICE: DXVA::CDecoder::Close: closing decoder.
11:24:19.596 T:4720  NOTICE: Previous line repeats 2 times.
11:24:19.596 T:4720  NOTICE: script.module.metadatautils --> Rate limiter active for themoviedb.org - delaying request with 4 seconds - Configure a personal API key in the settings to get rid of this message and the delay.
11:24:19.979 T:7872  NOTICE: CVideoPlayer::CloseFile()
11:24:19.979 T:7872  NOTICE: VideoPlayer: waiting for threads to exit
11:24:19.980 T:6816  NOTICE: CVideoPlayer::OnExit()
11:24:19.980 T:6816  NOTICE: Closing stream player 1
11:24:19.980 T:6816  NOTICE: Waiting for audio thread to exit
11:24:19.981 T:7440  NOTICE: thread end: CVideoPlayerAudio::OnExit()
11:24:19.981 T:6816  NOTICE: Closing audio device
11:24:19.995 T:6816  NOTICE: Deleting audio codec
11:24:19.996 T:6816  NOTICE: Closing stream player 2
11:24:19.996 T:6816  NOTICE: waiting for video thread to exit
11:24:20.016 T:6732  NOTICE: thread end: video_thread
11:24:20.016 T:6816  NOTICE: deleting video codec
11:24:20.018 T:7872  NOTICE: VideoPlayer: finished waiting
11:24:20.028 T:7872  NOTICE: DXVA::CDecoder::Close: closing decoder.
11:24:20.028 T:7872  NOTICE: DXVA: closing decoder context.
11:24:20.030 T:7872  NOTICE: CVideoPlayer::CloseFile()
11:24:20.030 T:7872  NOTICE: VideoPlayer: waiting for threads to exit
11:24:20.030 T:7872  NOTICE: VideoPlayer: finished waiting
11:24:20.165 T:8148   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: 'tvshowid'
                                            Traceback (most recent call last):
                                              File "C:\Users\Media Centre\AppData\Roaming\Kodi\addons\script.lazytv\service.py", line 357, in onPlayBackStopped
                                                pre_showid  = Main.nextprompt_info['tvshowid']
                                            KeyError: 'tvshowid'
                                            -->End of Python script error report<--
11:24:20.166 T:3652  NOTICE: PrimeWire: Service: Playback Stopped
11:24:20.166 T:3652  NOTICE: PrimeWire: Service: Resetting...
11:24:20.225 T:8164  NOTICE: APEP Common Routines: Now I'm stopped at 0%
11:24:20.672 T:3232   ERROR: XFILE::CDirectory::GetDirectory - Error getting library%3a%2f%2fvideo%2frecentlyaddedmovies.xml%2f/
11:24:20.672 T:3232   ERROR: Previous line repeats 3 times.
11:24:20.672 T:3232   ERROR: XFILE::CDirectory::GetDirectory - Error getting RecentMovies
11:24:23.923 T:4092   ERROR: Previous line repeats 3 times.
11:24:23.923 T:4092  NOTICE: [Artist Slideshow] script version 2.1.2 started
11:24:23.923 T:4092  NOTICE: [Artist Slideshow] debug logging set to false
11:24:23.925 T:4092  NOTICE: [Artist Slideshow] script stopped

Downloaded subtitles have empty permission

$
0
0
I have trouble with loading and displaying subtitles with Kodi and the subtitle plugins (opensubtitles, subscene, podnapsi, etc). I have a x86 HTPC and a Raspberri Pi, media is stored on a FreeNAS share.

The subtitles seem to be downloaded (they can be opened on my Windows machine), but i have a feeling the permissions are messed up and they wont be displayed on Kodi. All my media is downloaded by Couchpotato and Sonarr, and i believe they have messed up something with the permissions.

Here is the logfile from kodi: https://pastebin.com/5A8ZPPXH

I see some "permission denied" errors when opening the subtitles. This is how the permissions look on my NAS: https://pastebin.com/s4tQcGmH. The last 6 line show how the permissions of a newly downloaded subtitle (by the Kodi Subtitle addon).

So, my new subtitles downloaded with the Kodi addons have an empty permission. How can i fix this?

Buildbot or Kodi Repo With Builds of Libretro Game Add-ons?

$
0
0
Like the title says, I'm looking to experiment with libretro cores in Kodi 18. I've been browsing for a couple of hours getting caught up on what's going on with Kodi, but I can't seem to find if there's a repo where current builds are stored. I tried to download the most recent Garbear build of the Retroplayer branch of Kodi, but the addons packaged with it aren't working for me. It seems like an architecture issue, as the Garbear Retroplayer build is a 32-bit version of Kodi, while my Kodi 18 install is a 64-bit Nightly build.

I've seen some mention of "just in time" emulator installation, but I can't figure out how to use it. Is that feature not implemented in Kodi development builds at this time?

I'm surprised at how complicated it has been trying to get Libretro cores up and running in Kodi! Then again, the Games menu option IS hidden behind the Konami code for a reason Tongue

Audio device switching

$
0
0
hello

i installed kodi as front end on my living room gaming pc, got it setup as shell.
Problem I am having is i got two sound devices,

LG TV Nvidia High Definition audio
Speakers Logitech G533 Gaming Headset

Now if i go to audio settings in kodi and select G533 run a game sound comes from the LG TV? Does kodi not change default device? I am having to use Run from file manager mmsys.cpl sounds and change the default manually?

Am sure when i last used kodi this wasn't an issue,maybe i got a setting wrong?

Any help would be appreciated

Help adding requests to my add-on

$
0
0
Hey guys, I've been working on my first add-on but have hit another wall and was wondering if someone could point me in the right direction. I have my add-on created and working with a few video sources, but i would like to use Request to populate the links in the code from a hosted txt file. That way i don't have to manually enter every link in the code and i could also update the videos via txt instead of having to update the add-on itself. I've seen a few videos but can't seem to get it working correctly, if anyone could help me out or point me in the direction of a good Noob friendly tutorial i'd greatly appreciate it. Below is the code that I am using. Thanks

import urlparse
import sys,urllib
import xbmc, xbmcgui, xbmcaddon, xbmcplugin
import urlresolver
import os,requests,urllib2,re




base_url = sys.argv[0]
addon_handle = int(sys.argv[1])
args = urlparse.parse_qs(sys.argv[2][1:])

_addon = xbmcaddon.Addon()
_icon = _addon.getAddonInfo('icon')



def build_url(query):
    return base_url + '?' + urllib.urlencode(query)

def resolve_url(url):
    duration=7500   #in milliseconds
    message = "Cannot Play URL"
    stream_url = urlresolver.HostedMediaFile(url=url).resolve()
    # If urlresolver returns false then the video url was not resolved.
    if not stream_url:
        dialog = xbmcgui.Dialog()
        dialog.notification("URL Resolver Error", message, xbmcgui.NOTIFICATION_INFO, duration)
        return False
    else:        
        return stream_url    

def play_video(path):
    """
    Play a video by the provided path.
    :param path: str
    """
    # Create a playable item with a path to play.
    play_item = xbmcgui.ListItem(path=path)
    vid_url = play_item.getfilename()
    stream_url = resolve_url(vid_url)
    if stream_url:
        play_item.setPath(stream_url)
    # Pass the item to the Kodi player.
    xbmcplugin.setResolvedUrl(addon_handle, True, listitem=play_item)

# addon kicks in

mode = args.get('mode', None)


if mode is None:
    video_play_url = "https://openload.co/f/jZlK1qL9NmA/TNT_Monstervision_Joe_Bob_Briggs_Presents_Slaughter_High.mp4"
    url = build_url({'mode' :'play', 'playlink' : video_play_url})
    li = xbmcgui.ListItem('Slaughter High', iconImage='https://i.imgur.com/QmX16hR.jpg')
    li.setProperty('IsPlayable' , 'true')
    xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li)

    video_play_url = "https://openload.co/f/i6en49nqvV8/TNT_Monstervision_Joe_Bob_Briggs_Presents_Xtro_2.mp4"
    url = build_url({'mode' :'play', 'playlink' : video_play_url})
    li = xbmcgui.ListItem('Xtro 2', iconImage='https://i.imgur.com/YpHnzXf.jpg')
    li.setProperty('IsPlayable' , 'true')
    xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li)


    video_play_url = "https://openload.co/f/kXNhVdl2ql0/TNT_Monstersion_Joe_Bob_Briggs_Presents_Breeders.mp4"
    url = build_url({'mode' :'play', 'playlink' : video_play_url})
    li = xbmcgui.ListItem('Breeders', iconImage='https://i.imgur.com/v2uRc6O.jpg')
    li.setProperty('IsPlayable' , 'true')
    xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li)

    video_play_url = "https://openload.co/f/RWEnFlmW9Do/TNT_Monstervision_Joe_Bob_Briggs_Presents_The_Beast_Within.mp4"
    url = build_url({'mode' :'play', 'playlink' : video_play_url})
    li = xbmcgui.ListItem('The Beast Within', iconImage='https://i.imgur.com/9Xkg0tz.jpg')
    li.setProperty('IsPlayable' , 'true')
    xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li)

    

    xbmcplugin.endOfDirectory(addon_handle)


elif mode[0] == 'play':
    final_link = args['playlink'][0]
    play_video(final_link)

Passwords and SMB access to NAS

$
0
0
So been running Kodi on an Intel NUC pointed at a Synology NAS as a media server - using SMB.  Now kids are using it I am keen to restrict their access to certain NAS folders.  It would appear in the past ( about 2 years ago ) I've given Kodi Admin user rights and login to the synology so this creates an issue when I place user restrictions on the shared folders on the NAS - basically Kodi ignores it all, thinks its admin and can access all of them using the files menu.  Where can i remove the admin password in kodi and then set it up with a guest login ? I've tried to locate and find the password.xml file to edit but can't see it. I've unhidden folders etc as well. I believe I am in the correct userdata location but it's just not there. 

I could use profiles but keen to keep the access controlled via the synology nas and different guest accounts / sharing profiles etc.

Hope that make sense.

Thanks

Ged

v18 - Keyboard actions

$
0
0
What is current keymap buttons for keyboard keymaps?
<red>ActivateWindow(TVChannels)</red>
<green>ActivateWindow(Videos)</green>
<yellow>ActivateWindow(Music)</yellow>
<blue>ActivateWindow(Pictures)</blue>
https://github.com/xbmc/xbmc/blob/master...d.xml#L107
KEY_RED, KEY_BLUE, KEY_YELLOW, KEY_GREEN doesn't work in latest versions
Viewing all 85183 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>