Updated version of ArgusTV alternative XBMC Client

Other clients written by the community
Post Reply
dero
Posts: 76
Joined: Wed May 23, 2012 4:53 pm

Updated version of ArgusTV alternative XBMC Client

Post by dero » Wed Aug 14, 2013 12:30 pm

Hi guys,

I create a replacement for the ArgusTV XBMC client with the following key pieces:
- Simple Key/Value-Strorage HTTP-Server to run on a NAS to cache ArgusTV recordings' meta data
- Sync script that copies the metadata from ArgusTV to the NAS
- XBMC video add-on that reads the metadata from the NAS

So, I can put all the recordings on the NAS as well and the ArgusTV Windows Server only has to be powered on during recording. I run the sync-script every 3 minutes on the NAS to check if ArgusTV is powered on and has new/deleted recordings to be ingested into the cache.

Best regards

dero

User avatar
dot-i
Site Admin
Posts: 5848
Joined: Mon Oct 01, 2012 3:40 pm

Re: Updated version of ArgusTV alternative XBMC Client

Post by dot-i » Wed Aug 14, 2013 5:00 pm

Sounds cool, but the metadata of recordings on a NAS is already present in an .arg file next to the recording. Wouldn't it be easier to just parse this, that way there's no need for syncing stuff.
I have the heart of a child. I keep it in a jar on my shelf. -- Robert Bloch
Image

dero
Posts: 76
Joined: Wed May 23, 2012 4:53 pm

Re: Updated version of ArgusTV alternative XBMC Client

Post by dero » Wed Aug 14, 2013 6:18 pm

Some reasons:
- In 4TR, the 4tr file was not visible until the recording was finished.
- Parsing 4tr files or doing REST calls is more or less the same
- I organize the files in a hierarchical (schedule/epsiode, programtitle/episode) structure after getting the metadata and store that structure on the NAS
- I don't need to know WHERE the files are actually located.

By the way, how can I see that a recording is still being recorded? Do I need to check "IsPartialRecording"?

Let's assume that power will be lost during recording, what will the value of "IsPartialRecording" be then?

dero

User avatar
dot-i
Site Admin
Posts: 5848
Joined: Mon Oct 01, 2012 3:40 pm

Re: Updated version of ArgusTV alternative XBMC Client

Post by dot-i » Thu Aug 15, 2013 7:34 pm

dero wrote:By the way, how can I see that a recording is still being recorded? Do I need to check "IsPartialRecording"?
No, the RecordingStopTime will still be null.
dero wrote:Let's assume that power will be lost during recording, what will the value of "IsPartialRecording" be then?
It will remain false actually, and the stop-time will also remain null.
I have the heart of a child. I keep it in a jar on my shelf. -- Robert Bloch
Image

dero
Posts: 76
Joined: Wed May 23, 2012 4:53 pm

Re: Updated version of ArgusTV alternative XBMC Client

Post by dero » Thu Aug 15, 2013 9:17 pm

So, how can I see that a recording is still being recorded then?

dero

User avatar
dot-i
Site Admin
Posts: 5848
Joined: Mon Oct 01, 2012 3:40 pm

Re: Updated version of ArgusTV alternative XBMC Client

Post by dot-i » Thu Aug 15, 2013 10:36 pm

dero wrote:So, how can I see that a recording is still being recorded then?
Well, check RecordingStopTime for a reasonably safe indication (unless some disaster happened like you described this will be accurate enough). You could filter out those "disasters" by comparing the ProgramStopTime with the current time (if it's more than 2 hours in the past e.g. it can be filtered out).

Another approach would be to call the REST api method to actually get the list of active recordings, and match those.
I have the heart of a child. I keep it in a jar on my shelf. -- Robert Bloch
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests