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

Kodi does not scan newly added episodes of tv shows.

$
0
0
This is the files of the tvshows

W:\TvShows\Running Man (2010)\tvshow.nfo
W:\TvShows\Running Man (2010)\Season 2021\Running Man - S2021E548.mp4
W:\TvShows\Running Man (2010)\Season 2021\Running Man - S2021E548.nfo
W:\TvShows\Running Man (2010)\Season 2021\Running Man - S2021E548-thumb.jpg

When I update video, the new episodes are not being picked up. Old episodes are picked up. Some newer one are not. I use local information for scanning.

Please advise.

Kodi skin and addons development

$
0
0
Hey all!

First off, I am more of a dev with WordPress, and it has occurred to me that WordPress and Kodi are built with the same philosophy... let me indulge you before I come to the actual questions...
  • They both are database driven
  • They both have a core, that only really experienced devs should touch and if a function is not part of the core - it's provided by an add-on or plugin.
  • They both have skins/themes
  • They both have plugins/addons
  • They also have hooks/filters so you can manipulate the database etc
  • The user has to supply the content! (I am pretty sure those scam sites use WordPress!!)
  • They both are FOSS/GPL2
  • They are both Content Management Systems!!! (Think about it - they do both manage content - text/images/video!!! Although running a website off Kodi or a Home Theatre running WordPress right be a bit of an ask!)

Now from a dev point of view, I write/manipulate themes/plugins for WordPress - are my skills transferable to Kodi with skins/addons. I know themes are XML driven, and if I were to write an addon, that's python. Is it a 'simple case' of syntax when writing for themes/addons, and are there any kind of boilerplate themes/addons that can be used as a jumping-off point?

Secondly - do themes/add-ons hook into a Kodi API like WordPress too?

The reason why I ask is it is this FOSS project that has got me off my butt and restarted my web development, and I would dearly love to be able to give something back to this project, even if it's an addon with one line of code!

Ignore music folder when scanning not working in Matrix

$
0
0
I'm trying to avoid Kodi to scan and list folders starting with "_ " (e.g. "_ Lord of the Rings Soundtrack"). I edited advancedsettings.xml and I added these lines:

    <audio>
        <excludefromscan>
            <regexp>.*[\\\/]_\s.*</regexp>
        </excludefromscan>
        <excludefromlisting>
            <regexp>.*[\\\/]_\s.*</regexp>
        </excludefromlisting>
    </audio>

The <excludefromlisting> seems to work fine and I don't see those dirs (or files inside) in the file browser. But, on the other hand, the <excludefromscan> is not working at all. I tried cleaning/updating the music library with no success. Any idea of what's wrong? could it be a bug in Matrix?

Regards and thanks in advance

TV Box bqeel R2 Plus Add-On installation fails

$
0
0
I recently bought a new TV Box "Bqeel R2 Plus" with Android 10 and RKMC 18.9 (was unknown to me, that a Kodi variant would be installed...)

Now I wanted to install several Video Addons (ARD, ZDF, 3Sat etc - some of those are available as apps as well but are not designed for TV screens and cumbersome to operate).
None of this worked but always ended with a pretty ignorant "installation failed".
Checking the logs I found the following:

2021-04-09 13:56:01.387 T:6624   DEBUG: CAddonInstaller: installing 'script.module.libmediathek3' version '1.5.0' from repository 'repository.xbmc.org'
2021-04-09 13:56:01.400 T:11213   ERROR: Requested path https://mirrors.kodi.tv/addons/leia/scri...-1.5.0.zip not found in known repository directories
(more at https://paste.kodi.tv/zevoqeqiyi.kodi)

Nevertheless looking up the file directly in a browser (https://mirrors.kodi.tv/addons/leia/scri...-1.5.0.zip) works perfectly fine.
I have checked the RKMC/Kodi proxy configuration, which is <none> so now I'm clueless, why this thing isn't able to install those addons and releated dependencies.
(I'm close to return the box as I was not looking for another tamagochi... but what to buy then...?)

many thanks in advance
oerly
P.S.: hope it's not violating forum rules to paste a few log-lines into the posting

in advancedsettings.xml causing video playback to freeze

$
0
0
Describe the bug
Here is a clear and concise description of what the problem is:


I am not 100% sure this is a bug. So I will post it here for devs to decide.

<musicextensions>
        <add>.mp4</add>
</musicextensions>
The syntax above is causing the video to freeze when placed inside the advancedsettings.xml. The video acts as if it has been paused, with the OSD still responding but the video is stuck. It still allows you to rewind or change OSD settings. This happens after the video has played for a few seconds sometimes it can go as far as 5 minutes  for another video before freezing. Each video has a different freezing point  Laugh but they are all under 5 minutes. If a video freezes after 30 seconds then that is its freezing point and it will always freeze at this point even with a clean installation of KODI.

Expected Behavior
Here is a clear and concise description of what was expected to happen:
These xml tags are supposed to allow scanning of mp4 files in the music sources into the music library without affecting video library. Therefore the video should play smoothly from beginning to end.

To Reproduce
Steps to reproduce the behavior:

  1. Insert these tags in advancedsettings.xml
  2. <advancedsettings> <musicextensions> <add>.mp4</add>  </musicextensions> </advancedsettings>
  3. Play any .mp4 video either from library or file view.
  4. Wait for up to 5 min of playback and see if the video will freeze
  5. If this can't reproduce the problem copy my entire advancedsettings.xml below
Debug Log
The Debug Log can be found here:

With the tags present and video freezing: paste.kodi
With the tags removed and no freezing: paste.kodi

Screenshots
Here are some links or screenshots to help explain the problem:

The screenshot below shows a frozen video after 32 seconds. Even if you waited for a day, that lady never gets to open that door.
Image

Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:


My findings so far show only .mp4 movies are affected, my .MKV movies play just fine but I have not tried adding .mkv in the musicextension. Episodes and music videos play fine even if they are mp4.
KODI 18, 19 and 20 are all affected whether you play a movie from the library or from file view.

Two separate Windows 10 PCs were behaving the same.
At first, I thought my Hard drives are corrupted but then VLC had no issue and all my drives (over 4 external HDD) behaved this way.

I know for sure that the syntax above is the culprit because I have hunted this problem down to a point of doing a fresh clean installation all from scratch. I did away with everything from addons to library files and kept a backup of a few files which according to me could not have been causing my problem. Specifically "advancedsettings.xml", "profiles.xml", "guisettings.xml", and "playlists" folder. The first time, I copied all the files at once and replaced the ones already created by KODI and saw the problem yet the original KODI files had no issues. I then started all over and this time I copied these files one by one, each time playing my test video to see the behaviour. After copying advancedsettings.xml the problem started. I narrowed down to it and started editing each part until I found out only the musicextensions tags were the issue.
Here is how my complete advancedsettings.xml looks like;

 <advancedsettings version="1.0">
    <!-- Videos Section Start -->
    <video>
        <excludefromscan>
            <regexp>[-\._ ](extrafanart|sample|trailer|extrathumbs)[-\._ ]</regexp>
        </excludefromscan>
        <excludefromlisting>
            <regexp>[-._ \\/](extrafanart|sample|trailer|extrathumbs)[-._ \\/]</regexp>
        </excludefromlisting>
        <!-- Extras: Section Start -->
        <excludefromscan action="append">
            <regexp>/extras/</regexp>
            <regexp>[\\/]extras[\\/]</regexp>
        </excludefromscan>
        <excludetvshowsfromscan action="append">
            <regexp>/extras/</regexp>
            <regexp>[\\/]extras[\\/]</regexp>
        </excludetvshowsfromscan>
        <!-- Extras: Section End -->
    </video>
    <!-- Videos Section End -->
    <!-- Music Section Start -->
    <musicextensions>
        <add>.mp4</add>
    </musicextensions>
    <!-- Music Section End -->
 </advancedsettings>

Your Environment

OS: Windows 10 64 bit
Kodi version: 19 executable

Workaround
You can't forward the video when its frozen. In shot, the video refuses to go forward but it can go back.
You can reverse the video for a few seconds, then forward it a few more seconds past the freezing point, once its past this point, it plays just fine to the end.

Xbox one Wireless Controller

$
0
0
Hi,

I have a raspberry pi 4 and xbox one wireless bluetooth controllers. Been trying to get it hooked into kodi and failing.

have managed to connect the controller to the pi by disabling bluetooth ertm 
    echo 'options bluetooth disable_ertm=Y' | sudo tee -a /etc/modprobe.d/bluetooth.conf

install sudo apt-get install joystick
and cheeked with sudo jstest /dev/input/js0
the pi is getting the controller inputs

though when i go into kodi, the only input it takes is the select buttion and this acts as a back buttion.
have read every forum responce i could find and nothing
tried 354730 (thread) 
this sugested creating a file and adding a few lines of code, thouhg after i reboot the pi following these instructions kobi will not get any input not even the select buttion as before

not sure where i am going wrong or this can be done of not.

if anyone can help, i would be verry greatfull

TV shows on DVDs

$
0
0
I have been trying to figure out for ages how to handle TV shows on DVDs. That is, a single season of TV shows is over say  2 DVDs.

This is what worked at one time (directory structure, for the second season):

ShowName (YearofSeason)
   ShowName (YearofSeason) S02E01
   ShowName (YearofSeason) S02E02

The folder "ShowName (YearofSeason) S02E01" had the Audio_TS and Video_TS folders, and actually had multiple shows (episodes) from this season.  So, this is totally incorrect from an episode standpoint, but it allowed me to access the DVDs.

If I tried to put the DVDs in the "movies" section, the scraper would not get the correct information, and the DVD was in "nowhere land" (eg, called "video" or something like that).  Doing what I did above, while incorrect, allowed me to use a TV scraper, which correctly determined which TV show it was.  I could access each DVD, and then play the episodes there.

I had to reinstall Kodi (completely uninstall, wipe everything, then clean install) with the latest (windows) version, and now this does not work.  The structure above is the same, but nothing shows up in TV shows.

Am I missing a configuration somewhere?

Is there a better way of accessing TV shows from DVDs, where multiple episodes are spread over a single DVD?

BD ISO Video Stutter, Audio Out-of-Sync, NW Buffering on Fire TV 4k w Kodi v17,18,19

$
0
0
Any help would be most appreciated.

Kodi log: https://paste.kodi.tv/erumawuzaf

Here's the backdrop:

Problem: Significant video stutter and out-of-sync audio when playing Bluray ISO.  Kodi buffering every 15-30 seconds of playback.  Only happens with some Bluray ISOs (see below).
HW: Amazon Fire TV 4k playing ISOs off Synology NAS (gigE/NFS - no wireless)
SW: Kodi v18 and v19 (same issues for each)
SW Other: I did try the oldest, posted build of Kodi (17.6) from kodi.tv and it still had issue although not quite as severe but still unwatchable
Example Bluray ISOs with issues: Dark City Directors Cut (see log), V for Vendetta
Note: Kodi on Windows v19 plays the same ISOs just fine

Crash with Kodi 19 after connecting bluetooth headset

$
0
0
Hey all,

I have the following problem with kodi 19:
OS: Windows 10 (latest updates)

Kodi is working fine since I connect my bluetooth headphones. Then it crashes. I can do nothing. So also Alt+F4 or open Task Manager are not working. 
I have no problem when the headphones are not connected.

Anybode got the same problem or can help me?
I tried DIRECTSOUND and WASAPI as audio settings and still got the same crash.

Play to an external UPnP player

$
0
0
Any tips on how to get "Play to..." on the context menu to work? My Oppo 203 player shows up in the context menu but it won't play to it when I select it.  Nothing happens. 
This works in Emby but I can't figure out how to get it to work in Kodi. I've tried on multiple Chromecasts with Google TV (Android) and on my QNAP NAS. Same behavior on all.

Shared library database user privileges

$
0
0
I just set up a shared MySql library following this guide.
Everything was working flawless but I'm a little worried about security as this step requires to give the kodi user access to all databases which makes him "root like".
I guess this is needed for automatically creating & setting up the needed databases but I'm now wondering if I could revoke those rights and restrict the user after initial setup to only have rights for the database(s) he really needs (video & music).

Is it ok to restrict the user after initial set up or will this break something in the future? E.g. does Kodi need to create new databases when updating to newer versions etc.?

Thanks & best regards,

Mike

update shared database without using kodi

$
0
0
I have a shared Maria database with 3 clients. All my movies and tvshows have NFO files.

Rather than have any 3 of the clients scrape from the NFO files into the database, I would like to see if there was some way to ingest the information into the database so the clients don't have to do any scraping and the data is just there ready when kodi is launched.

Thanks

I depend on several addons which are not in Matrix repo. Can I help?

$
0
0
I depend upon several addons which don't have migrated versions in the Kodi 19 repo. I have acquired updated versions, or updated myself. What is the best way about helping out?

script.module.dateutil
script.module.pydevd
script.module.kodi65
script.module.youtube.dl

I have created issues for several of these in github with an offer to help. Is this enough?

Time to move away from HTPC??

$
0
0
Hello,

I'm a newbie to this forum although I remember XBMC from the original XBOX as the best media player I had, followed by the WD TV Live, none of which can play 3D ISO's with Atmos, sadly.

I have been building HTPC's for a few years now and the family really enjoy watching 3D movies with Atmos soundtrack on our LG OLED from a NAS using PowerDVD or DVDFAb Player. Few months ago I noticed an issue, which I can only describe as macroblocking, which made watching 3D movies impossible. After a lot of troubleshooting, I tried another HDMI port on the TV and it was fine. Few weeks ago, the macroblocking on the TV started again, no matter what HDMI port I tried I could not get rid of it. I tested the issue using 2 different PC's and got the same result.  I thought the 3D on my TV was broken and had an engineer booked in to look at it.

As one last attempt to see if the TV was OK before the engineer arrived, I bought a dedicated bluray player and used one of my discs. Thankfully, my TV is working fine and turns out it must be the PC. I don't know how to fix it without maybe wiping the HTPC and seeing if this may resolve it as it might be a Windows 10 related issue, so I am looking for some help or advice.

I am using an Intel i3-8100 CPU and integrated Intel UHD 630 graphics card, 8GB RAM, SSD and Windows 10 64 bit  as my main HTPC.

Is it worth trying to install Kodi MVC build to see if I can get 3D movies with Atmos to work or buy a device like the Vero 4K+?

Sorry for the long post and background, I hope it was useful context.

Thanks,
Shailesh

Kodi freeze on certain mp4 playback

$
0
0
Tested by creating a mp4test.strm with a single line as below
Code:
https://storage.googleapis.com/positive-theme-309301/D_TZBDSZIJ/22a_1617997735_90267.mp4
On Windows Kodi 18, the strm plays fine from start to end including seeking forward/reverse
On Ubuntu Linux (and on LE/CE) with Kodi 19, the strm plays fine from start to end including seeking forward/reverse

However on Windows Kodi 19, the play back stalls anywhere within 30secs to a minute of playback. The videoplayer process show a buffering wheel stuck at 100 and kodi freezes. The only way to stop is to terminate kodi from Task Manager
The issue seems to be specific to FFMPEG on Windows build of Kodi19

Can some Windows Kodi guru (@jogal @PatK wink wink nudge nudge) take a look at this please

This is the log when it hangs
Code:
2021-04-10 11:22:35.599 T:7032    DEBUG <general>: CVideoPlayer::SetCaching - caching state 1
2021-04-10 11:22:35.599 T:12232   DEBUG <general>: CVideoPlayerVideo - Stillframe left, switching to normal playback
2021-04-10 11:22:35.599 T:4220    DEBUG <general>: CDVDAudio::Pause - pausing audio stream
2021-04-10 11:22:35.599 T:12232   ERROR <general>: ffmpeg[0x1e1a6e5d140X]: [h264] Invalid NAL unit size (3264 > 3043).
2021-04-10 11:22:35.599 T:12232   ERROR <general>: ffmpeg[0x1e1a6e5d140X]: [h264] Error splitting the input into NAL units.
2021-04-10 11:22:35.599 T:7032    DEBUG <general>: CDVDClock::SetSpeedAdjust - adjusted:0.000000
2021-04-10 11:22:35.599 T:7032    DEBUG <general>: ffmpeg[0x1e1a9852d30X]: [mov,mp4,m4a,3gp,3g2,mj2] stream 0, sample 1448, dts 60393667
2021-04-10 11:22:35.599 T:7032    DEBUG <general>: ffmpeg[0x1e1a9852d30X]: [mov,mp4,m4a,3gp,3g2,mj2] stream 1, sample 2590, dts 60139683
2021-04-10 11:22:36.017 T:12232   DEBUG <general>: CDVDVideoCodecFFmpeg::GetPicture - eof hw accel
2021-04-10 11:22:36.017 T:12232   DEBUG <general>: CVideoPlayerVideo - Stillframe detected, switching to forced 23.976024 fps
2021-04-10 11:22:37.683 T:14488   DEBUG <general>: ------ Window Deinit (VideoOSD.xml) ------
2021-04-10 11:22:37.700 T:14488   DEBUG <general>: ------ Window Deinit (DialogSeekBar.xml) ------
2021-04-10 11:22:37.700 T:14488   DEBUG <general>: ------ Window Deinit (Custom_1109_TopBarOverlay.xml) ------
2021-04-10 11:22:43.386 T:14488   DEBUG <general>: ------ Window Init (VideoOSD.xml) ------
2021-04-10 11:22:43.388 T:14488   DEBUG <general>: ------ Window Init (Pointer.xml) ------
2021-04-10 11:22:43.388 T:14488   DEBUG <general>: ------ Window Init (DialogSeekBar.xml) ------
2021-04-10 11:22:43.389 T:14488   DEBUG <general>: ------ Window Init (Custom_1109_TopBarOverlay.xml) ------
2021-04-10 11:22:45.643 T:7032    ERROR <general>: ffmpeg[0x1e1a9852d30X]: [mov,mp4,m4a,3gp,3g2,mj2] stream 0, offset 0xb540dd: partial file
2021-04-10 11:22:45.643 T:7032    DEBUG <general>: CVideoPlayer::SetCaching - caching state 0
2021-04-10 11:22:45.643 T:7032    DEBUG <general>: CDVDClock::SetSpeedAdjust - adjusted:0.000000
2021-04-10 11:22:45.643 T:4220    DEBUG <general>: CDVDAudio::Resume - resume audio stream
2021-04-10 11:22:45.643 T:7032     INFO <general>: CVideoPlayer::OnExit()
2021-04-10 11:22:45.644 T:7032     INFO <general>: VideoPlayer: eof, waiting for queues to empty
2021-04-10 11:22:45.644 T:7032     INFO <general>: Closing stream player 1
2021-04-10 11:22:45.644 T:7032     INFO <general>: CDVDMessageQueue(audio)::WaitUntilEmpty
2021-04-10 11:22:45.644 T:4220    DEBUG <general>: CVideoPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
2021-04-10 11:22:45.644 T:7032     INFO <general>: Waiting for audio thread to exit
2021-04-10 11:22:45.644 T:4220    ERROR <general>: Got MSGQ_ABORT or MSGO_IS_ERROR return true
2021-04-10 11:22:45.644 T:4220     INFO <general>: thread end: CVideoPlayerAudio::OnExit()
2021-04-10 11:22:45.644 T:4220    DEBUG <general>: Thread VideoPlayerAudio 4220 terminating
2021-04-10 11:22:45.644 T:7032     INFO <general>: Closing audio device
2021-04-10 11:22:45.644 T:11840   DEBUG <general>: ActiveAE - start sync of audio stream
2021-04-10 11:22:45.644 T:11840   DEBUG <general>: ffmpeg[0x1e1947b3e70X]: [SWR] Using fltp internally between filters
2021-04-10 11:22:45.644 T:11840   DEBUG <general>: CActiveAE::DiscardStream - audio stream deleted
2021-04-10 11:22:45.644 T:11840   DEBUG <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
2021-04-10 11:22:45.644 T:11840   DEBUG <general>: ffmpeg[0x1e1947b3e70X]: [SWR] Using fltp internally between filters
2021-04-10 11:22:45.645 T:11840   DEBUG <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
2021-04-10 11:22:45.645 T:7032     INFO <general>: Deleting audio codec
2021-04-10 11:22:45.645 T:11840   DEBUG <general>: ffmpeg[0x1e1947b3e70X]: [SWR] Using fltp internally between filters
2021-04-10 11:22:45.645 T:7032     INFO <general>: Closing stream player 2
2021-04-10 11:22:45.645 T:7032     INFO <general>: waiting for video thread to exit
2021-04-10 11:22:45.655 T:11840   DEBUG <general>: ffmpeg[0x1e1947b3e70X]: [SWR] Using fltp internally between filters
2021-04-10 11:22:45.655 T:11840   DEBUG <general>: Skipped 1 duplicate messages..
2021-04-10 11:22:45.655 T:11840   DEBUG <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
2021-04-10 11:22:45.656 T:12232    INFO <general>: thread end: video_thread
2021-04-10 11:22:45.656 T:12232   DEBUG <general>: Thread VideoPlayerVideo 12232 terminating
2021-04-10 11:22:45.657 T:7032     INFO <general>: deleting video codec
2021-04-10 11:22:45.658 T:5276    DEBUG <general>: Thread JobWorker start, auto delete: true
2021-04-10 11:22:45.661 T:5276     INFO <general>: Deleting settings information for files U:\mp4test.strm
2021-04-10 11:22:45.662 T:7792    DEBUG <general>: Thread JobWorker start, auto delete: true
2021-04-10 11:22:45.662 T:7792    DEBUG <general>: CSaveFileState::DoWork - Saving file state for video item U:\mp4test.strm
2021-04-10 11:22:45.800 T:11840   DEBUG <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted

possible to remove category all?

$
0
0
Hi,

Is it possible to remove the category ALL in the simple client? I think the list is too long and slows the process on my android. It works good on a quadcore. But its slow my 2 core.

Previewing media on an auto-mounted drive from the web interface

$
0
0
I would like to preview, via the web interface, content on an USB stick which is mounted along with the main media library disk.  The content on that USB stick has NOT been scanned into the KODI library.  I like to preview to make sure that the encoding process went correctly.  Sometimes it is not convenient to do it from the main/TV interface.

When I open the web interface and select the "browser" and then "Auto-mounted" I see the content on the USB stick.  However, unlike for movies which have been scanned into the KODI library, these movies do not seem to have the option to "play in the browser".  If I click on the ">" it wants to play it on the TV and not in the browser window.

Is there a way to view these files in the web interface?

Thanks...RDK

ps...this is an OSMC/KODI installed on a Raspberry Pi V3 computer...

Widgets and android apps

$
0
0
I have kodi and some android tv apps running on shield
Is it possible to add widgets insite kodi, pointing to some parts of an android tv (video) app?
I live in belgium and i got an android app "vtm go" 
I know theres a vtm go addon for shield too, but the android app is far more stable (doenst buffer) instead of the android app
So is it possible to point in a widget the channels of the android app?

Arctic Zephyr 2 - Widgets - TVNOW - 3 widgets and only widget position 3 works

$
0
0
Hello, I use a german plugin called TVNOW. Here I have added 3 widgets.

screenshots widget settings:
https://imgur.com/r7YudHg

screenshots widget:
https://imgur.com/BplyyIs
https://imgur.com/WSLeNkO

If I now want to play an episode that is in widget position 1 (AWZ) or 2 (GZSZ) I get an error message.

Code:
ERROR: InputStream: Error opening, plugin://plugin.video.zattoo_hiq/?mode=switchlist

When I start an episode of Widget 3 (UU), it works without problems. I have now already tested around a bit. If I now set widget "AWZ" or "GZSZ" to position three, then the episodes are played. So always only the widget that is at the bottom works.

Does anyone have an idea why or even a solution?

Disharmony

Viewing all 85412 articles
Browse latest View live


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