Don't overwrite instance variable defaults if .hmt file corrupt
This commit is contained in:
parent
0ab8fb125d
commit
c9100acf66
@ -61,14 +61,16 @@ ts method size {} {
|
||||
ts method _parse {line} {
|
||||
set vars [split $line "\t"]
|
||||
|
||||
lassign [split $line "\t"] \
|
||||
title synopsis definition channel_num channel_name \
|
||||
start end flags_list guidance bookmarks schedstart scheddur \
|
||||
genre resume status seriesnum episodenum episodetot
|
||||
if {[llength $vars] >= 18} {
|
||||
lassign $vars \
|
||||
title synopsis definition channel_num channel_name \
|
||||
start end flags_list guidance bookmarks schedstart scheddur \
|
||||
genre resume status seriesnum episodenum episodetot
|
||||
|
||||
set synopsis [xconv $synopsis]
|
||||
set synopsis [xconv $synopsis]
|
||||
|
||||
set flags [split [string range $flags_list 0 end-1] ,]
|
||||
set flags [split [string range $flags_list 0 end-1] ,]
|
||||
}
|
||||
}
|
||||
|
||||
ts method lastmod {} {
|
||||
|
Loading…
Reference in New Issue
Block a user