afogleson 15 Posted September 5, 2025 Posted September 5, 2025 When i call my emby server to get the liveTvRecordings and i pass isInProgress=false i get a list of recordings (if any exist) but i get the the list of finished recordings AND ones currently in progress... so then i have to call with isInProgress=true to get the ones still recording to get a list of recordings to remove from the first list. Here is the curl variant of my 2 calls inProgress == false curl -X GET "http://192.168.1.12:8096/emby/LiveTv/Recordings?api_key=$apikey&userId=$userID&isInProgress=false&fields=path" -H "Accept: application/json" |jq '.Items[] | select(.Path | endswith(".ts")) | .Path' returns: "/config/data/livetv/recordings/City Eats Savannah/Season 3/City Eats Savannah S03E12 Common Restaurant.ts" "/config/data/livetv/recordings/Tales of Wells Fargo (1957)/Season 5/Tales of Wells Fargo S05E02 Angry Town.ts" "/config/data/livetv/recordings/Tales of Wells Fargo (1957)/Season 5/Tales of Wells Fargo S05E01 Day of Judgment.ts" "/config/data/livetv/recordings/Laramie (1959)/Season 1/Laramie S01E26 Hour After Dawn.ts" "/config/data/livetv/recordings/Tales of Wells Fargo (1957)/Season 4/Tales of Wells Fargo S04E37 Man for the Job.ts" "/config/data/livetv/recordings/Wagon Train (1957)/Season 4/Wagon Train S04E22 The Beth Pearson Story.ts" "/config/data/livetv/recordings/Tales of Wells Fargo (1957)/Season 4/Tales of Wells Fargo S04E36 Kid Brother.ts" "/config/data/livetv/recordings/Zane Grey Theatre (1956)/Season 3/Zane Grey Theatre S03E16 Welcome Home a Stranger.ts" "/config/data/livetv/recordings/Zane Grey Theatre (1956)/Season 3/Zane Grey Theatre S03E15 Hang the Heart High.ts" and inProgress == true curl -X GET "http://192.168.1.12:8096/emby/LiveTv/Recordings?api_key=$apikey&userId=$userOD&isInProgress=true&fields=path" -H "Accept: application/json" |jq '.Items[] | select(.Path | endswith(".ts")) | .Path' "/config/data/livetv/recordings/City Eats Savannah/Season 3/City Eats Savannah S03E12 Common Restaurant.ts" am i doing something silly? just checking if i REALLY have to make 2 calls to get the finished recordings for post processing. I mean if i do... no big deal since generally the emby server (in this case) will be local since this is so i can post process those recordings for comskip, etc. (get around the whole docker image and such being able to process on any box that can see the recordings dir... (which i can do another way but that is not necessarily ALWAYS safe... i could catch it on an in between moment when the time stamp on the file has not yet updated.... but... yadda yadda. this is much more reliable is the main point.
Luke 42077 Posted September 5, 2025 Posted September 5, 2025 Hi, the items are being groped by series now. We’ll have to add a param to control this. 2
afogleson 15 Posted September 5, 2025 Author Posted September 5, 2025 Ok makes sense. in the meantime i can just make 2 calls and remove the "in progress" ones from the others. I am already filtering out by extension (ie my post processing does commercial cutting, potentially upscaling (maybe AI upscaling in the future) and then remuxing to mkv and HEVC (or a selected format). so essentially i either have .ts files or i have .mkv files. And i can change that all when we have a parameter to only see finished recordings
Luke 42077 Posted September 6, 2025 Posted September 6, 2025 OK add GroupItems=false to your request and the next build will be checking that. Thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now