Here's an interim way to find a series fsid given the TmsId. It searches /Server and builds a temporary index file in /var/tmp that can be searched.
mfs_tmsid is the program that builds the series index. It takes about 15 minutes to run on a HDVR2.
Code:
bash-2.02# ./makeSeriesIndex
54974 entries found in /Server
7926 TmsIDs found
The tmsid.idx file contains fsid, TmsId, and title of all the series objects found. The title isn't really necessary, so it can eventually be deleted to reduce the file size.
Code:
bash-2.02# head /var/tmp/tmsid.idx
297444 SH000001 {Paid Programming}
305387 SH000021 {20/20}
342688 SH000030 {3-2-1 Classroom Contact}
312648 SH000035 {60 Minutes}
312763 SH000051 {A Different World}
314463 SH000066 {A Pup Named Scooby-Doo}
340472 SH000115 {The Addams Family}
344545 SH000150 {Against All Odds: Inside Statistics}
Finding a particular series given the TmsId is fast. The shell script getSeriesFsid does it:
Code:
# ./getSeriesFsid SH000115
340472
This should be able to be called from a tcl script.
Note: There are some duplicate entries for the same TmsId. This needs to be taken into account.
Code:
# grep SH476707 /var/tmp/tmsid.idx
305262 SH476707 {What Not to Wear}
349357 SH476707 {What Not to Wear}