NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 90 91 92 93 94 … 102 Next »
Recording Lost

 
  • 0 Vote(s) - 0 Average
Recording Lost
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#11
2020-03-10, 08:45 PM
(2020-03-10, 08:40 PM)aderlopas Wrote: Thanks sub for your reply. I changed my postprocessing.bat to set the correct Greek codepage (Windows-1253):
by adding the command:

chcp 1253>NUL

But Is this really the problem?
I don't know

Quote:I see from the logs you reference the OID passed to the .bat file was 989:

[color=#696969]`oid`=989

However in my database it only exist OID=991 and 992 if you take a look at the screenshots I uploaded. 
This is why the update failed most likely...

any ideas why the wrong OID was passed to the .bat file?
That definitely seemed to be the OID.

2020-03-10 03:00:00.242 [DEBUG][9] Stopping recording (989 on 23). Past end time of recording. 102
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#12
2020-03-10, 08:52 PM (This post was last modified: 2020-03-10, 08:54 PM by aderlopas.)
Thait is interesting, 

Today same recording started. I see now the 991 OID is being recorded as well as another small recording I added only once for testing (OID 993)...as per the schreenshot I upload.

That makes me think that ODI 989 was somehow deleted from the database as it is no longer there....

So it was not that my database update failed, the entry was somehow deleted...

Could it be due to the fact that recording starts one day and it finishes another (next day)?


Attached Files Thumbnail(s)
   
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,119
Threads: 957
Joined: May 2006
#13
2020-03-10, 08:56 PM
Recordings get deleted from the table when they aren't found. That would include issues when there is a mismatch between unicode, utc and code page character sets.

Martin
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#14
2020-03-10, 09:00 PM
(2020-03-10, 08:56 PM)mvallevand Wrote: Recordings get deleted from the table when they aren't found.  That would include issues when there is a mismatch between unicode,  utc and code page character sets.

Martin

thanks Martin, now we are getting closer I believe...

so if Database is UTF-8 (is it?), which encoding should I properly set via chcp command in postprocessing.bat?

chcp 1253  (which is Greek Codepage) or 
chcp 65001 (which is UTF-8 codepage)
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#15
2020-03-10, 09:15 PM
OK, in the meantime I tried chcp 65001 (UTF-8) and it updated the database as "BLOB" and the recording was removed from the list.
Will try now chcp 1253 (Greek) instead...
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,119
Threads: 957
Joined: May 2006
#16
2020-03-10, 09:21 PM
During testing I'd change config.xml to not remove missing files.

Martin
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#17
2020-03-10, 09:46 PM
(2020-03-10, 09:21 PM)mvallevand Wrote: During testing I'd change config.xml to not remove missing files.

Martin

thanks for the suggestion Martin, which option in config.xml would that be?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#18
2020-03-10, 10:12 PM
<AutoRemoveMissingRecordings>
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#19
2020-03-11, 12:21 AM
(2020-03-10, 10:12 PM)sub Wrote: <AutoRemoveMissingRecordings>
Many thanks Sub
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#20
2020-03-11, 11:37 AM
(2020-03-10, 08:56 PM)mvallevand Wrote: Recordings get deleted from the table when they aren't found.  That would include issues when there is a mismatch between unicode,  utc and code page character sets.

Martin

Hi,

coming back to this it seems that sqllite3.exe cannot handle UTF-8.
And from what I have checkd npvr.db3 is built using Macintosh UTF-8.
As such, there is no way that from command line using the sqllite3.exe utility to make a proper update using Greek characters.

Instead, if we could run a powershell post processing script, then I would be able to setup the connection library to make automatic conversion between 1253 codepage and UTF-8 so that Greek texts is updated correctly inside the database.

Would it be possible to call a postprocessing powershell script instead?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording Glitches - Debug Advice? andrewj 7 302 2025-06-23, 08:19 PM
Last Post: mvallevand
  Advanced Recording Scheduling question Bobins 7 282 2025-06-17, 12:56 AM
Last Post: mvallevand
  "Recording interrupted" problem started happening sharkbite 8 640 2025-06-02, 08:08 AM
Last Post: sharkbite
  Failed: Recording interrupted jzk 3 470 2025-04-18, 09:06 PM
Last Post: mvallevand
  Unable to delete recording. File may be in use. seattlefog 24 1,235 2025-04-13, 01:08 AM
Last Post: sub
  Directory not deleted after recording deleted Bobins 13 1,066 2025-03-08, 05:30 PM
Last Post: sub
  Recording IPTV lemmy999 8 798 2025-03-02, 06:13 PM
Last Post: lemmy999
  Temporarily Suspend Recording andrewj 1 293 2025-02-25, 12:44 PM
Last Post: mvallevand
  Series recording doesn't have cancel series markn62 9 2,528 2025-02-22, 09:24 PM
Last Post: jcole998
  Recording ken_dearden 8 796 2025-02-20, 12:22 PM
Last Post: ken_dearden

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

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode