Imports have wrong created date

The videos that I import into Channels by placing under the Imports directory have an incorrect "Created" date of 2185. The API shows them having a created_at attribute of 6802270473000. Is there a way to correct this and preferably have created_at represent either the original file date or the time the ingestion job processed the Imports file?

    "watched": false,
    "favorited": false,
    "delayed": false,
    "cancelled": false,
    "corrupted": false,
    "completed": true,
    "processed": true,
    "locked": false,
    "verified": true,
    "created_at": 6802270473000,
    "updated_at": 1792415432449
1 Like

Can you check the file timestamps on the video file itself

1 Like

Here's some examples:

PS> $url = "http://localhost:8089/api/v1/all?source=imports"
PS> $r = (Invoke-WebRequest -Uri $url -UseBasicParsing).content | ConvertFrom-json
PS> $r.count
22

PS> ($r |? { $_.created_at -ne 6802270473000 }).count
0

PS> $r |% { $rec = $_; gci $rec.path |
 ft @{Name='API_Created'; Expression={$rec.created_at}},
 @{Name='API_Updated'; Expression={$rec.updated_at}},
 *Time }

  API_Created   API_Updated   CreationTime            LastAccessTime          LastWriteTime
  -----------   -----------   ------------            --------------          -------------
6802270473000   1792260384858 10/17/2026 11:38:55 AM  10/17/2026 12:33:46 PM  10/17/2026 12:33:46 PM
6802270473000   1792361508942 10/17/2026  3:11:35 PM  10/18/2026 8:46:02 PM   10/17/2026 3:34:42 PM
6802270473000   1792370999460 10/18/2026  8:44:34 PM  10/18/2026 8:45:12 PM   10/17/2026 1:27:50 PM
6802270473000   1792371000471 10/18/2026  8:45:11 PM  10/18/2026 8:45:48 PM   10/17/2026 2:19:08 PM
6802270473000   1792374905931 10/18/2026  9:08:26 PM  10/18/2026 9:53:20 PM   10/18/2026 9:53:20 PM
6802270473000   1792371003899 10/18/2026  8:46:29 PM  10/18/2026 8:47:06 PM   10/17/2026 3:11:36 PM
6802270473000   1792371004543 10/18/2026  8:47:06 PM  10/18/2026 8:47:42 PM   10/17/2026 12:33:46 PM
6802270473000   1792377607676 10/18/2026  9:53:20 PM  10/18/2026 10:39:18 PM  10/18/2026 10:39:18 PM
6802270473000   1792380610073 10/18/2026 10:39:44 PM  10/18/2026 11:26:12 PM  10/18/2026 11:26:12 PM
6802270473000   1792383311989 10/18/2026 11:26:54 PM  10/19/2026 12:13:00 AM  10/19/2026 12:13:00 AM
6802270473000   1792386613828 10/19/2026 12:13:00 AM  10/19/2026 1:07:40 AM   10/19/2026 1:07:40 AM
6802270473000   1792389615366 10/19/2026  1:07:40 AM  10/19/2026 1:57:12 AM   10/19/2026 1:57:12 AM
6802270473000   1792392317707 10/19/2026  1:57:11 AM  10/19/2026 2:43:22 AM   10/19/2026 2:43:22 AM
6802270473000   1792395319128 10/19/2026  2:43:22 AM  10/19/2026 3:29:50 AM   10/19/2026 3:29:50 AM
6802270473000   1792398020839 10/19/2026  3:29:49 AM  10/19/2026 4:18:50 AM   10/19/2026 4:18:50 AM
6802270473000   1792401022930 10/19/2026  4:18:51 AM  10/19/2026 5:06:22 AM   10/19/2026 5:06:22 AM
6802270473000   1792423234903 10/19/2026 10:29:28 AM  10/19/2026 11:15:38 AM  10/19/2026 11:15:38 AM
6802270473000   1792403724687 10/19/2026 5:07:06 AM  10/19/2026 5:53:06 AM    10/19/2026 5:53:06 AM
6802270473000   1792406426249 10/19/2026 5:53:06 AM  10/19/2026 6:39:04 AM    10/19/2026 6:39:04 AM
6802270473000   1792409428172 10/19/2026 6:39:04 AM  10/19/2026 7:25:00 AM    10/19/2026 7:25:00 AM
6802270473000   1792412131130 10/19/2026 7:25:00 AM  10/19/2026 8:10:56 AM    10/19/2026 8:10:56 AM
6802270473000   1792415432449 10/19/2026 8:11:00 AM  10/19/2026 9:07:06 AM    10/19/2026 9:07:06 AM


PS> ([System.DateTimeOffset]::FromUnixTimeSeconds($r[-1].created_at/1000)).LocalDateTime

Thursday, July 21, 2185 7:34:33 PM


PS> ([System.DateTimeOffset]::FromUnixTimeSeconds($r[-1].updated_at/1000)).LocalDateTime

Monday, October 19, 2026 9:10:32 AM
1 Like

I have been getting the same thing on all my playon recordings. I've removed them due to them always being at the top of some lists. I'll have to post more details when I get home.

so If I run the files thru C:\channels-data\Imports\TV\ they show correct import date


json

{
  "ID": "53351",
  "GroupID": "19664449",
  "Path": "Birdgirl\\Season 1\\Birdgirl - s01e01 - Pilot.mp4",
  "Checksum": "8pP0YfusYLdQIVoFoBvLB-HTnRxAEFL60_D-nBxPNl0",
  "CreatedAt": 1792445466,
  "FileSize": 793643687,
  "Duration": 1353.00356,
  "Completed": true,
  "Processed": true,
  "Airing": {
    "Source": "tms",
    "OriginalDate": "2021-04-05",
    "Time": 1617580800,
    "Duration": 0,
    "Title": "Birdgirl",
    "EpisodeTitle": "Pilot",
    "Summary": "Birdgirl is named CEO of Sebben and Sebben and struggles to find a work/superhero balance.",
    "FullSummary": "Thirty-something Judy Ken Sebben inherits her father's company, which would be great if that company weren't built around the most socially irresponsible 20th Century products.",
    "Image": "https://tmsimg.fancybits.co/assets/p19664449_b_h9_ab.jpg?w=720&h=540",
    "Categories": [
      "Episode",
      "Series"
    ],
    "Genres": [
      "Animated",
      "Comedy"
    ],
    "Tags": [
      "HD",
      "Stereo",
      "CC"
    ],
    "SeriesID": "19664449",
    "ProgramID": "EP038016760001",
    "SeasonNumber": 1,
    "EpisodeNumber": 1,
    "Directors": [
      "Richard Ferguson-Hull"
    ],
    "Cast": [
      "Paget Brewster",
      "Luka Jones"
    ],
    "ReleaseYear": 2021,
    "ContentRating": "TV-14"
  },
  "UpdatedAt": 1792452764685,
  "Version": 27,
  "ImportPath": "Imports\\TV",
  "ImportQuery": "Birdgirl",
  "ImportGroup": "19664449",
  "ImportedAt": 1792452762076,
  "MediaRegions": [
    {
      "Start": 0,
      "End": 1353.00356,
      "Type": "content",
      "Sources": null
    }
  ]
}

if I import thru Personal Media I get this


json

{
  "ID": "50923",
  "GroupID": "19664449",
  "Path": "Birdgirl\\Season 1\\Birdgirl - s01e01 - Pilot.mp4",
  "Checksum": "8pP0YfusYLdQIVoFoBvLB-HTnRxAEFL60_D-nBxPNl0",
  "CreatedAt": 6802270473,
  "FileSize": 793643687,
  "Duration": 1353.00356,
  "Completed": true,
  "Processed": true,
  "Airing": {
    "Source": "tms",
    "OriginalDate": "2021-04-05",
    "Time": 1617580800,
    "Duration": 0,
    "Title": "Birdgirl",
    "EpisodeTitle": "Pilot",
    "Summary": "Birdgirl is named CEO of Sebben and Sebben and struggles to find a work/superhero balance.",
    "FullSummary": "Thirty-something Judy Ken Sebben inherits her father's company, which would be great if that company weren't built around the most socially irresponsible 20th Century products.",
    "Image": "https://tmsimg.fancybits.co/assets/p19664449_b_h9_ab.jpg?w=720&h=540",
    "Categories": [
      "Episode",
      "Series"
    ],
    "Genres": [
      "Animated",
      "Comedy"
    ],
    "Tags": [
      "HD",
      "Stereo",
      "CC"
    ],
    "SeriesID": "19664449",
    "ProgramID": "EP038016760001",
    "SeasonNumber": 1,
    "EpisodeNumber": 1,
    "Directors": [
      "Richard Ferguson-Hull"
    ],
    "Cast": [
      "Paget Brewster",
      "Luka Jones"
    ],
    "ReleaseYear": 2021,
    "ContentRating": "TV-14"
  },
  "UpdatedAt": 1792452865129,
  "Version": 27,
  "ImportPath": "P:\\PlayOn\\TV",
  "ImportQuery": "Birdgirl",
  "ImportGroup": "19664449",
  "ImportedAt": 1792445202441,
  "MediaRegions": [
    {
      "Start": 0,
      "End": 1353.00356,
      "Type": "content",
      "Sources": null
    }
  ]
}

I'm importing from the D:\Channels\Imports\TV directory.

Please check the windows file explorer on the video files and see what it says for their created time


Well, the Powershell output already shows that, but here: