Jump to content
sir drake

DMS 2.1.0.0 API - Forgotten Recordings

Recommended Posts

sir drake

Hello Griga,

 

concerning this topic i face a problem while handle the recorded files by API.


i fetch a list of recordings by using "http://localhost:8089/api/recordings.html?utf8=1&images=1".
The file-node contains the full path/file_name to be able to use them.
After looping through each of them  ( not all recordings are moved at once. I do that selectively )   ,
 fire a CleanupDB task-command to inform the DMS also about the foreign grabbing of those files.


In Result of this described process, DMS forgett finished Recordings.
actually recordings are out of this problem.
They will be shown as expected.

 

By fetching again a list of recordings through API, i miss to see the unmoved recordings.

DMS-Webpage ( recording page)  is also not showing the physically extings recordings.



as per default i create "only" a LOG-File.
No EPG-File
No EPG-NTFS

Should this cause the trouble ? 
anything changed to this behaviour of DMS ?

 

Also a Task command "RefreshDB" is not beeing able to ReImport those missing files again.

 

support.zip attached

 

thanks for help/clarification
sir drake 

support.zip

Share this post


Link to post
sir drake

reproducible behavior:
( no interaction of my own programm ) 

1) start different recordings
2) Wait for finishing of some Recordings
3) Meanwhile other Recordings are in progress
    you can send a Task-Command "RefreshDB" ...api/tasks.html?action=RefreshDB
    This will "remove" finished recordings from the list of recorded-files.
4) In result of sending  "RefreshDB" the finished Files are not
    anymore visible in dms-web-page ( Recording ) either in ...api/recordings.html?utf8=1&images=1

rgds
sir drake

Share this post


Link to post
sir drake

Hi
 

"CleanupDB" seems not to have the impact i face.
only "RefreshDB"

 

rgds

sir drake

Share this post


Link to post
Griga
8 hours ago, sir drake said:

No EPG-File
No EPG-NTFS

Should this cause the trouble ? 

 

Most likely yes. Maybe this case hasn't been considered sufficiently. I'll look after it tomorrow. Today there was an emergency situation in my family.

 

Share this post


Link to post
Griga

I think I found the cause. A recording database update flags recordings wrongly as "removed" If no EPG information file and no NTFS file properties are present. However, they don't get deleted from the database, but still show up in the new "Removed" section of the Desktop Web Interface -> Recordings page.

 

Of course it is not intended in this way. It's just an ordinary bug. Nevertheless I would recommend to let the DMS at least create an EPG information file for recordings because it serves as external database backup, allowing to recreate the database entry if it gets lost somehow.

 

Please check your PMs...

Share this post


Link to post
sir drake

Hello Griga,

a short test shows the behaivior is now as expected.

previous/finished recordings are displayed still after a RefreshDB send by web-page.


previous/finished recordings are displayed still after a RefreshDB send by manyually command ( api/tasks.html?action=.... )

previous/finished recordings are displayed still after a CleanupDB send by manyually command ( api/tasks.html?action=.... )

<solved> for me
thanks for the fix !    :thumbsup:

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...