Jump to content

Adding date to recorded episode


vdrover
 Share

Recommended Posts

vdrover

I record BBC World News each night on PBS via OTA/antenna. Each day, the file name is always the same: `BBC World News (2021)/BBC World News 1991-03-11`.

The date in the filename is from the first episode I guess. 

This works fine, but Emby thinks each episode is the same, and always shows that i've watched the episode (I assume that info is in the database somewhere).

Is there a way to append the recording date to the file name for this show only? Maybe that will help with detecting watched vs unwatched shows.

Link to comment
Share on other sites

emveepee

How do they look in NextPVR?  I suspect that is the original air date for the show and Emby is crafting up something incorrectly

Also are you sure that is the filename, NextPVR would typically use the recording date.

martin

Link to comment
Share on other sites

vdrover

I had never heard of NextPVR until today! wow. I'll sort that our and circle back.

Edited by vdrover
Link to comment
Share on other sites

vdrover

ok, follow up. Why would I need NextPVR if emby is already managing recordings?

Link to comment
Share on other sites

emveepee

Typically you wouldn't if you use IPTV or one of the few supported  devices but you did post in the NextPVR sub-forum.

Moderator please move this thread.

Martin

Edited by emveepee
Link to comment
Share on other sites

vdrover

doh! Apologies. Should I just delete this post and make a new one on the right board?

Link to comment
Share on other sites

  • 2 weeks later...
On 1/24/2022 at 5:46 PM, vdrover said:

Emby EPG.

OK, the next time this happens with a recording, please capture a screenshot of the program details in the web app, and also provide the emby server log from the time of the recording and we'll take a look. Thanks.

Link to comment
Share on other sites

vdrover

It happens every weeknight, so lots of data available if you need it. Here's the program details. Logs sent via DM.

Emby 2022-02-03 at 6.57.19 AM.png

Link to comment
Share on other sites

Can you show a screenshot of one of these from the guide data before it gets recorded? I need to determine if the 1991 came from the guide data. Thanks.

Link to comment
Share on other sites

vdrover

Will this do? Otherwise, tell me where to look and I'll dig into the guidle XML.

 

1373052972_LiveTV2022-02-10at12_19_16PM.png.568d43ac0999f5bcfc2be9a7e2d21331.png

Link to comment
Share on other sites

emdubya77

If it's of any help, I've noticed something similar with our regional news program - there are three bulletins every day, but they're all marked as 'repeat' with the same 2005 air date! I don't record it though so I don't know how it behaves.

This is using Emby guide data (no nextpvr):

GBR-1000067-DEFAULT (Freeview West Midlands, postcode WR3)

Screenshot_2022-02-10-19-05-28.png

Link to comment
Share on other sites

emveepee

As I noted at beginning news programs which are not series often have the Original Air date when the show started, nothing to to do with the individual broadcasts.  Same with SH recordings from Gracenote.

Martin

 

 

Link to comment
Share on other sites

emdubya77

Note this is different behaviour to the majority of other news programs, which appear as below but DO use the recording date in the filename.

Presumably it's just a fault in the way the guide data is constructed at source for mine & OP's examples.

Screenshot_2022-02-10-19-36-50.png

Edited by emdubya77
Link to comment
Share on other sites

emveepee

I suspect it is because it is marked as a repeat and the use the original air date incorrectly for a non series.

Martin

  • Agree 1
Link to comment
Share on other sites

On 2/10/2022 at 2:31 PM, emveepee said:

As I noted at beginning news programs which are not series often have the Original Air date when the show started, nothing to to do with the individual broadcasts.  Same with SH recordings from Gracenote.

Martin

 

 

OK so what we'll do is ignore this value, and that should prevent this issue going forward.

If you're on Emby Server 4.6, this change will be in the upcoming 4.7 server release.

If you're on the 4.7 beta channel, I'll have an update to the Emby Guide Data plugin published shortly. Thanks.

  • Like 1
Link to comment
Share on other sites

vdrover

@LukeIn my case, there will now no date on the file. So all the files will have the same filename. I suspect that will cause the same problem as my original post. 

Wouldn't it be better to ignore the date of the first episode (as you describe able) AND then also add the recorded date? Maybe the year as the subfolder instead of the season (Please does this for sports I think). That way, 2 news programs will appear to be different episodes?

Perhaps something like this:

Quote

BBC World News (2021)
-- Season 2022
----BBC World News (2021) - S2022E2022-02-14
----BBC World News (2021) - S2022E2022-02-15
----BBC World News (2021) - S2022E2022-02-16

Thoughts?

Link to comment
Share on other sites

40 minutes ago, vdrover said:

@LukeIn my case, there will now no date on the file. So all the files will have the same filename. I suspect that will cause the same problem as my original post. 

Wouldn't it be better to ignore the date of the first episode (as you describe able) AND then also add the recorded date? Maybe the year as the subfolder instead of the season (Please does this for sports I think). That way, 2 news programs will appear to be different episodes?

Perhaps something like this:

Thoughts?

If it actually has a season and episode number then that will provide uniqueness. If not then the current date will go into the file name.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...