Library for TV-Shows corrupt with latest version of vdr-plugin-vnsi?
#16
Ok - here is what happens - Issue "This File is no longer available. Would you like to remove it from the Library?":

Situation as follows:

vdr runs on remote machinein Version 2.2.0, vnsi-server-plugin is on version 1.5.1 - but the issue occurs on 1.5.2 or 1.5.0 as well:

Code:
root@tutanchamun:~# vdr --version
vdr (2.2.0/2.2.0) - The Video Disk Recorder
dvbhddevice (2.2.0) - HD Full Featured DVB device
pictures (2.2.0) - A simple picture viewer
quickepgsearch (0.0.1) - Quick search for broadcasts
dvbsddevice (2.2.0) - SD Full Featured DVB device
epgsearch (1.0.1.beta5) - search the EPG for repeats and more
conflictcheckonly (0.0.1) - Direct access to epgsearch's conflict check menu
live (0.3.0) - Live Interactive VDR Environment
osddemo (2.2.0) - Demo of arbitrary OSD setup
status (2.2.0) - Status monitor test
epgsearchonly (0.0.1) - Direct access to epgsearch's search menu
svdrpdemo (2.2.0) - How to add SVDRP support to a plugin
skincurses (2.2.0) - A text only skin
rcu (2.2.0) - Remote Control Unit
epgtableid0 (2.2.0) - EPG handler for events with table id 0x00
hello (2.2.0) - A friendly greeting
svcsvr (2.2.0) - Service demo server
streamdev-client (0.6.1-git) - VTP Streaming Client
streamdev-server (0.6.1-git) - VDR Streaming Server
svccli (2.2.0) - Service demo client
dvbapi (2.0.1) - DVBAPI type SOFTCAM
epg2vdr (1.1.38-GITf223595) - epg2vdr plugin
vnsiserver (1.5.1) - VDR-Network-Streaming-Interface (VNSI) Server

Kodi is on Libreelec 8.0 on Wetek Play 2 - Version here is 17.0 Git a10c504
Vnsi-Addon is 2.6.18.1

The Folder-Structure within vdr's Videodirectory (/nas/vdr) is:
Code:
root@tutanchamun:/nas/vdr# ls -lR Serien/Trapped_-_Gefangen_in_Island/
Serien/Trapped_-_Gefangen_in_Island/:
insgesamt 0
drwxrwxr-x 3 vdr family 45 Feb 27 13:40 S01E01_-_Episode_1
drwxrwxr-x 3 vdr family 45 Feb 27 15:14 S01E02_-_Episode_2

Serien/Trapped_-_Gefangen_in_Island/S01E01_-_Episode_1:
insgesamt 0
drwxrwxr-x 2 vdr family 105 Feb 27 20:16 2017-02-19.22.01.2-0.rec

Serien/Trapped_-_Gefangen_in_Island/S01E01_-_Episode_1/2017-02-19.22.01.2-0.rec:
insgesamt 10309084
-rwxrwxr-x 1 vdr family 10554258712 Feb 27 14:34 00001.ts
-rwxrwxr-x 1 vdr family     2225746 Feb 27 13:40 index
-rwxrwxr-x 1 vdr family        1336 Feb 27 13:40 info
-rw-rw-r-- 1 vdr family          74 Feb 27 20:16 info.epg2vdr
-rwxrwxr-x 1 vdr family         122 Feb 27 13:40 Trapped.md5

Serien/Trapped_-_Gefangen_in_Island/S01E02_-_Episode_2:
insgesamt 4
drwxrwxr-x 2 vdr family 4096 Feb 26 23:46 2017-02-26.21.58.2-0.rec

Serien/Trapped_-_Gefangen_in_Island/S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec:
insgesamt 11889564
-rwxrwxr-x 1 vdr family 2097978856 Feb 26 22:16 00001.ts
-rwxrwxr-x 1 vdr family 2098446036 Feb 26 22:34 00002.ts
-rwxrwxr-x 1 vdr family 2097303372 Feb 26 22:53 00003.ts
-rwxrwxr-x 1 vdr family 2097177788 Feb 26 23:11 00004.ts
-rwxrwxr-x 1 vdr family 2097581424 Feb 26 23:30 00005.ts
-rwxrwxr-x 1 vdr family 1683840236 Feb 26 23:45 00006.ts
-rwxrwxr-x 1 vdr family    2567232 Feb 26 23:45 index
-rwxrwxr-x 1 vdr family       1507 Feb 26 21:58 info
-rwxrwxr-x 1 vdr family        806 Feb 26 22:08 info.epg2vdr
-rwxrwxr-x 1 vdr family        105 Feb 26 23:46 marks

My sources.xml looks like this (for the PVR-Stuff):
Code:
<sources>                                                                      
    <programs>                                                                  
        <default pathversion="1"></default>                                    
    </programs>                                                                
    <video>                                                                    
        <default pathversion="1"></default>                                    
        <source>                                                                
            <name>VDR - Filme</name>                                            
            <path pathversion="1">pvr://recordings/tv/active/</path>            
            <allowsharing>true</allowsharing>                                  
        </source>                                                              
        <source>                                                                
            <name>VDR - Serien</name>                                          
            <path pathversion="1">pvr://recordings/tv/active/Serien/</path>    
            <allowsharing>true</allowsharing>                                  
        </source>                                                              
        <source>                                                                
            <name>VDR - Konzerte</name>                                        
            <path pathversion="1">pvr://recordings/tv/active/Konzerte/</path>  
            <allowsharing>true</allowsharing>                                  
        </source>                                                              
  ...

In the main menu of Kodi i go to "Videos", select the Source "VDR - Serien" and go to the Folder "Trapped...." - not in the Folder but on the Folder i press "c" - and select "Scan to Library"
That works (almost) fine as it results in the Show being added to the TV-Shows Library of Kodi. Playing one of the Episodes from the "Video" - Menu works fine as well
Going back to Main Menu and then go into "TV - Shows" i am able to find the TV-Show "Trapped...." and in that Show (entering into it) i find Episode 1 - no clue right now why i don't find Episode 2.

Now trying to playback Episode 1 from within that TV-Show - Folder "Trapped" - gives me "The file is no longer available, would you like to remove it from the Library?"

This is the kodi.log of that session - i have tons' of
Code:
13:12:30.139 T:547624653024 WARNING: Process directory 'pvr://recordings/tv/active/Serien/The%20Missing/' does not exist - skipping scan.
13:12:30.140 T:547624653024 WARNING: Process directory 'pvr://recordings/tv/active/Serien/The%20Team/' does not exist - skipping scan.
13:12:30.140 T:547624653024 WARNING: Process directory 'pvr://recordings/tv/active/Serien/Tod%20eines%20Pilgers/' does not exist - skipping scan.
13:12:30.141 T:547624653024 WARNING: Process directory 'pvr://recordings/tv/active/Serien/Trapped%20-%20Gefangen%20in%20Island/' does not exist - skipping scan.
13:12:30.142 T:547624653024 WARNING: Process directory 'pvr://recordings/tv/active/Serien/Traumh%c3%a4user%20wiederbesucht/' does not exist - skipping scan.
13:12:30.142 T:547624653024 WARNING: Process directory 'pvr://recordings/tv/active/Serien/Traumh%c3%a4user/' does not exist - skipping scan.
13:12:30.142 T:547624653024 WARNING: Process directory 'pvr://recordings/tv/active/Serien/True%20Detective/' does not exist - skipping scan.
13:12:30.143 T:547624653024 WARNING: Process directory 'pvr://recordings/tv/active/Serien/Unsere%20M%c3%bctter%2c%20unsere%20V%c3%a4ter/' does not exist - skipping scan.

and
Code:
13:08:19.859 T:547641442304 WARNING: CreateLoader - unsupported protocol(pvr) in pvr://recordings/tv/active/Serien/Trapped%20-%20Gefangen%20in%20Island/
13:08:19.937 T:547641442304 WARNING: CreateLoader - unsupported protocol(pvr) in pvr://recordings/tv/active/Serien/Trapped - Gefangen in Island/S01E01%20-%20Episode%201, TV%20(ZDF%20HD), 20170219_210000, 1830201024.nfo
13:08:19.965 T:547641442304 WARNING: CreateLoader - unsupported protocol(pvr) in pvr://recordings/tv/active/Serien/Trapped - Gefangen in Island/S01E01%20-%20Episode%201, TV%20(ZDF%20HD), 20170219_210000, 1830201024-thumb.jpg
13:08:19.966 T:547641442304 WARNING: CreateLoader - unsupported protocol(pvr) in pvr://recordings/tv/active/Serien/Trapped - Gefangen in Island/S01E01%20-%20Episode%201, TV%20(ZDF%20HD), 20170219_210000, 1830201024-thumb.png
13:08:19.966 T:547641442304 WARNING: CreateLoader - unsupported protocol(pvr) in pvr://recordings/tv/active/Serien/Trapped - Gefangen in Island/S01E01%20-%20Episode%201, TV%20(ZDF%20HD), 20170219_210000, 1830201024.tbn
13:08:19.970 T:547641442304 WARNING: CreateLoader - unsupported protocol(pvr) in pvr://recordings/tv/active/Serien/Trapped - Gefangen in Island/S01E01%20-%20Episode%201, TV%20(ZDF%20HD), 20170219_210000, 1830201024.pvr
13:08:20.125 T:547641442304 WARNING: CreateLoader - unsupported protocol(pvr) in pvr://recordings/tv/active/Serien/Trapped - Gefangen in Island/S01E02%20-%20Episode%202%20%c3%93f%c3%a6r%c3%b0%2cTrapped%20(Krimi%2c%20ISL%2fD%202016), TV%20(ZDF%20HD), 20170226_210000, 318608351.nfo
13:08:38.882 T:547641442304 WARNING: CreateLoader - unsupported protocol(pvr) in pvr://recordings/tv/active/Serien/Trapped - Gefangen in Island/S01E01%20-%20Episode%201, TV%20(ZDF%20HD), 20170219_210000, 1830201024.pvr
kodi3: LE 7.93.5 on Pi3
kodi4: LE 7.93.5 on Wetek Play 2
Server vdr 2.2.0, vnsi,...
Reply
#17
What scraper do you use? How did you make vdr crating that naming of folders?
Reply
#18
Scraper is TheTVDB, Naming was done by vdr using vdr2epg - plugin - Naming fully complies with std-vdr and this setup works fine with Jarvis 16.1....
kodi3: LE 7.93.5 on Pi3
kodi4: LE 7.93.5 on Wetek Play 2
Server vdr 2.2.0, vnsi,...
Reply
#19
I asked for step by step instructions that should include all steps. I don't use this functionality myself, never did, and have no clue how to come to this stage. I am almost sure that the root cause for this is not vnsi but I look into it if you provide the info for me to reproduce.

Why don't you provide a zip file of a folder you tried with. Leave the ts files out.
Reply
#20
Can be downloaded her:

http://www.filedropper.com/trapped

This issue is global to all my TV-Shows and occured after migrating the Lib from 16.1 to Krypton (even after adding "active" to the source)

I could also provide a mysql-dump of that if needed - i think the filenames/pathnames stored in the database look wrong - at least they look completely different - see initial post.
kodi3: LE 7.93.5 on Pi3
kodi4: LE 7.93.5 on Wetek Play 2
Server vdr 2.2.0, vnsi,...
Reply
#21
Thanks, I found the issue. Stay tuned
Reply
#22
I submitted a fix: https://github.com/xbmc/xbmc/pull/11794

maybe it makes it to 17.1
Reply
#23
EDIT: Works now for Replay from library - don't know why i had hat error down below:

Quote:I changed FileItem.cpp - result is a little better - but still does not play:

Code:
12:30:10.836 T:139738858100480   ERROR: CVideoPlayer::OpenInputStream - error opening [pvr://recordings/tv/active/Serien/Trapped - Gefangen in Island/S01E01%20-%20Episode%201, TV%20(ZDF%20HD), 20170219_210000, 1830201024.pvr]

if i am right - it is because of the %20's - which are spaces - but the Directorys do not contain spaces - spaces ars substituted by VDR to "underscores".
Why is the path added with "%20" instead of "_"?

The Issue with adding an episode to the show persists:
Code:
17:25:51.497 T:140084037167488   ERROR: ShowIMDB: could not add episode [pvr://recordings/tv/active/Serien/Trapped - Gefangen in Island/S01E02%20-%20Episode%202%20%c3%93f%c3%a6r%c3%b0%2cTrapped%20(Krimi%2c%20ISL%2fD%202016), TV%20(ZDF%20HD), 20170226_210000, 318608351.pvr]. tvshow does not exist yet..
kodi3: LE 7.93.5 on Pi3
kodi4: LE 7.93.5 on Wetek Play 2
Server vdr 2.2.0, vnsi,...
Reply
#24
May i ask for help again on the issue that some single episode do get added to the library?

Episode 1 got added (created the TV-Show), Episode 2 does not get added - even with same info file... - i am out of ideas why

this is the log:
Code:
10:13:33.688 T:140561159149952   ERROR: ShowIMDB: could not add episode [pvr://recordings/tv/active/Serien/Trapped - Gefangen in Island/S01E02%20-%20Episode%202, TV%20(ZDF%20HD), 20170219_210000, 318608351.pvr]. tvshow does not exist yet..

And these are the folders:
Code:
root@tutanchamun:/nas/vdr/Serien/Trapped_-_Gefangen_in_Island# find . -print.
./S01E02_-_Episode_2
./S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec
./S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec/00001.ts
./S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec/00002.ts
./S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec/info.epg2vdr
./S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec/info
./S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec/00003.ts
./S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec/00004.ts
./S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec/00005.ts
./S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec/00006.ts
./S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec/info.org
./S01E02_-_Episode_2/2017-02-26.21.58.2-0.rec/index
./S01E01_-_Episode_1
./S01E01_-_Episode_1/2017-02-19.22.01.2-0.rec
./S01E01_-_Episode_1/2017-02-19.22.01.2-0.rec/index
./S01E01_-_Episode_1/2017-02-19.22.01.2-0.rec/info
./S01E01_-_Episode_1/2017-02-19.22.01.2-0.rec/Trapped.md5
./S01E01_-_Episode_1/2017-02-19.22.01.2-0.rec/00001.ts
./S01E01_-_Episode_1/2017-02-19.22.01.2-0.rec/info.epg2vdr

Directories/Files in Tar can be found here - without the ts... here
kodi3: LE 7.93.5 on Pi3
kodi4: LE 7.93.5 on Wetek Play 2
Server vdr 2.2.0, vnsi,...
Reply
#25
Thanks for backporting - but the library-Scanning thing is still Open.
kodi3: LE 7.93.5 on Pi3
kodi4: LE 7.93.5 on Wetek Play 2
Server vdr 2.2.0, vnsi,...
Reply
#26
I am not an expert regarding those scraper things. I also had big difficulties in adding some recording to the db. Seems TheTVDB is extremely picky about episode names. I think those have to match. Episodes of "Trapped - Gefangen in Island" are names "Folge 2", "Folge 2", ... https://www.zdf.de/serien/trapped-gefangen-in-island

I would try this instead of S01E02_-_Episode_2

I also notiices that languge settittings of the scraper for a particular source are ignored. Only the language setting of the addon itself is considered.
Reply
#27
HI thanks for the idea - will test intensively tomorrow - but in TheTVDB the Episodes are named "Episode n" - so why should "Folge n" work better. And also the matching normally takes the S0xE0x - thing.
An last not least - First Episode got added and created the Show in the Library - adding Episodes fails for some Episodes.

Not only for this one but for a couple with the Message "tvshow dows not exist yet" - see posts above.

And last not least: everything works fine in Jarvis...

I Will double check with trying the same naming pattern used for Episodes via VDR and the same being done on plain MKV's - i put my "Schwiegermutter" on stakes that the latter will work...
kodi3: LE 7.93.5 on Pi3
kodi4: LE 7.93.5 on Wetek Play 2
Server vdr 2.2.0, vnsi,...
Reply
#28
(2017-03-19, 09:33)magicamun Wrote: HI thanks for the idea - will test intensively tomorrow - but in TheTVDB the Episodes are named "Episode n" - so why should "Folge n" work better. And also the matching normally takes the S0xE0x - thing.

Don't know, maybe try dropping S0xE0x. For me it only worked if episode name did exactly match

this is not vnsi related, maybe not even pvr related. I suggest to post questions regarding this topic in another section of this forum.
Reply
#29
Well......

I transcoded Episode 1 and 2 and created a plain Folder on Disk:

Code:
root@tutanchamun:/nas/Video/Serien# ls -l
insgesamt 4
drwxrwxr-x 2 lutz family 4096 Feb 25 06:03 Die Brücke - Transit in den Tod
drwxr-xr-x 2 root root     64 Mär 26 09:52 Trapped
root@tutanchamun:/nas/Video/Serien# ls -l Trapped
insgesamt 4288900
-rw-r--r-- 1 root root 2034881823 Mär 19 10:51 S01E01_-_Episode_1.mkv
-rw-r--r-- 1 root root 2356947953 Mär 19 16:01 S01E02_-_Episode_2.mkv
root@tutanchamun:/nas/Video/Serien#


Scraping this with TheTVDB.com and kodi works as expected - i get the show with two episodes.
Scraping via vnsi does not - i only get the TV-Show with the first Episode and the Rest of the Episodes do not get scraped. THis is an issue that occurs with some TV-Shows - not with all..
kodi3: LE 7.93.5 on Pi3
kodi4: LE 7.93.5 on Wetek Play 2
Server vdr 2.2.0, vnsi,...
Reply
#30
(2017-03-26, 10:09)magicamun Wrote: Scraping via vnsi does not ...

vnsi itself is not involved in scaping. vnsi just provides info to Kodis PVR component which in turn provides info to the scraper. Did you already ask in the PVR section of this forum?
Reply

Logout Mark Read Team Forum Stats Members Help
Library for TV-Shows corrupt with latest version of vdr-plugin-vnsi?0