Skip to content

Commit

Permalink
feat: mv dars to 5pm
Browse files Browse the repository at this point in the history
  • Loading branch information
serafdev committed Aug 24, 2024
1 parent 9f805fe commit 2df5ad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/yt-upload-v2/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func refreshFileList() {
for _, file := range folders {
fullPath := fmt.Sprintf("%s/%s", root, file.Name())

if strings.HasSuffix(file.Name(), ".mp4") {
if strings.HasSuffix(file.Name(), ".mkv") {
uploaded := false
if _, err := os.Stat(fmt.Sprintf("%s/.%s-uploaded", root, file.Name())); err == nil {
uploaded = true
Expand Down
6 changes: 3 additions & 3 deletions pkg/rec/rec_iqama.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func NewRecordConfigDataS() *RecordConfigDataS {
}

fajr := today.Fajr.Iqama
maghrib := today.Maghrib.Iqama
//maghrib := today.Maghrib.Iqama
asr := today.Asr.Iqama
todaysData := &[]RecordConfig{
{
Expand All @@ -55,8 +55,8 @@ func NewRecordConfigDataS() *RecordConfigDataS {
},
{
Description: "Saturday Dars",
StartTime: maghrib,
Duration: 2 * time.Hour,
StartTime: time.Date(2024, 1, 1, 17, 0, 0, 0, time.Local),
Duration: 5 * time.Hour,
RecordingDays: []time.Weekday{time.Saturday},
},
{
Expand Down

0 comments on commit 2df5ad3

Please sign in to comment.