35 Commits

Author SHA1 Message Date
tim000x3
b65eaae38a Start and end time can be set in program config but only applies in direct play
got seek and end time working on non-direct play

Enhance program duration calculation and entry creation in channel services and guide

improved guide generation

Add debug logging and really agressive program merging logic and placeholder avoidence in XMLTV writer

Add a final pass duplicate detection and merging logic in _smartMerge function

Refactor XMLTV writing logic: enhance debug logging, streamline program merging, and improve error handling

backwards compatibly

Human readable time

Refactor program configuration modal: move optional position offsets to collapsible advanced options section

Update program configuration modal: rename position offset labels to custom start and end time

Changed how I build the guide based on an implementation that's closer to the original implementation and requires less changes.

Reverted Unneeded Changes

Simplified how StreamSeeK and custom end positions are applied in both transcoding and direct play.

Implement merging of adjacent programs with the same ratingKey in TVGuideService

Made merging-adjacent programs optional and disabled by default

custom time can actuall be set

cleanup

Enhance time input validation for program duration and seek positions
2025-12-01 11:32:06 -04:00
vexorian
caa99226ae Merge remote-tracking branch 'origin/dev/1.5.x' into dev/1.6.x 2025-12-01 11:30:20 -04:00
vexorian
ba4ca13564 Revert start/end time changes. They are being included in 1.6.x 2025-12-01 11:27:33 -04:00
vexorian
9193d62e07 Changes to the filler algorithm. Content that has never been played before in the channel gets a higher chance to be picked. If all content available has been played before, the one with the longest time since playback is given a higher chance to be picked. 2025-12-01 10:58:40 -04:00
tim000x3
44a2cd9b8b Start and end time can be set in program config but only applies in direct play
got seek and end time working on non-direct play

Enhance program duration calculation and entry creation in channel services and guide

improved guide generation

Add debug logging and really agressive program merging logic and placeholder avoidence in XMLTV writer

Add a final pass duplicate detection and merging logic in _smartMerge function

Refactor XMLTV writing logic: enhance debug logging, streamline program merging, and improve error handling

backwards compatibly

Human readable time

Refactor program configuration modal: move optional position offsets to collapsible advanced options section

Update program configuration modal: rename position offset labels to custom start and end time

Changed how I build the guide based on an implementation that's closer to the original implementation and requires less changes.

Reverted Unneeded Changes

Simplified how StreamSeeK and custom end positions are applied in both transcoding and direct play.

Implement merging of adjacent programs with the same ratingKey in TVGuideService

Made merging-adjacent programs optional and disabled by default

custom time can actuall be set

cleanup

Enhance time input validation for program duration and seek positions
2025-05-17 23:18:51 -04:00
vexorian
c2bb2c8df1 Make median logic be based on the specific filler list instead of the whole combined fillers 2023-11-23 11:46:15 -04:00
vexorian
189a2adf4e The registry of when a filler was last played is now persistent. 2023-11-22 00:30:57 -04:00
vexorian
a8cdc6f449 Fix median condition not working when the number of filler videos in a channel is odd. 2023-11-21 14:37:45 -04:00
vexorian
ad1302aae4 Use the median to decide what filler to play. This has memory consequences unfortunately. 2023-11-12 11:00:22 -04:00
vexorian
388bf11e16 Remove some unnecessary logs 2021-09-18 18:20:46 -04:00
vexorian
2fed574577 Reworked the filler picked algorithm. Is it better? I don't know. But it is certainly different. 2021-09-12 22:26:16 -04:00
vexorian
58aa84d19f Do not clone whole channel just to combine the channel 2021-08-08 21:42:15 -04:00
vexorian
fb5791d0d6 Fix #330, programs cut off the last few milliseconds of a program, up to 30 seconds 2021-06-22 00:56:50 -04:00
vexorian
47b2fe8dd4 Max time for last-played is 7 days up from 24. I think this makes flex work nicer when the dizquetv session is long. But it's subjective. 2021-02-15 10:06:10 -04:00
vexorian
fc79a1d79f Make time slots use the 'better' random too. Ensure that time slots are cyclic and the end of the schedule ends at the same time of day as the beginning of the schedule 2020-11-22 20:24:58 -04:00
vexorian
6329641d4c Merge branch 'dev/1.1.x' into dev/1.2.x 2020-11-22 19:25:52 -04:00
vexorian
110bd19a61 Improve random number generation for picking the next filler to play. 2020-11-22 19:18:11 -04:00
vexorian
3b5eb0475c Fix that crash when channels don't have the watermark enabled. 2020-10-05 18:36:44 -04:00
vexorian
1067d03442 FFMPEG channel editor tab. Channel watermark options. 2020-10-05 18:03:20 -04:00
vexorian
d1a9be6058 Filler Lists 2020-09-20 22:42:17 -04:00
vexorian
c342d42db9 xmltv delivery is not synchronous anymore. It is no longer possible to change xmltv file location through UI or the api. Basic exception handling for the API but the api will need further cleanup. 2020-08-26 20:50:23 -04:00
vexorian
2138176689 Channel redirects + 'Channel At night' 2020-08-24 22:47:27 -04:00
vexorian
3022dfe375 1 json per channel. Plex server editing and status. Max resolution for transcoding. 640x360 fix. 2020-08-22 10:37:40 -04:00
vexorian
82bfd50535 Remove old 'commercials' feature. DB Migration in place. Backwards compatibility with pseudotv instances made between versions 0.0.51 and 0.0.53. Old commercials get replaced with Flex time 2020-08-09 15:09:47 -04:00
vexorian
3391e9173f Tweaked Flex random algorithm AGAIN 2020-08-04 22:38:44 -04:00
vexorian
861c1d9bda Tweak random filler selection, give a bit of bias to larger videos, but just a bit. 2020-08-01 06:58:34 -04:00
vexorian
f9dd2af4d4 Flex time slots. Av1 support in ffmpeg provided by Dockerfile. Channel cache. Async guide writer. 2020-07-25 16:41:04 -04:00
vexorian
94aa908e0b UI and config for normalization changes. Audio Volume Boost. Error streams.
Various fixes. Fix bug where normalize codecs logic to pick when to transcode was the reverse of what we wanted. Beep and white noise are less loud, which prevent issues with ac3 encoder. Channel Icon Overlay doesn't appear during error screen.
2020-06-27 17:36:38 -04:00
Jordan Koehn
52052bf91d add plex options to pick between plex paths and direct paths. Change ffmpeg concat to always read in at fastest rate possible. /stream endpoint will now always spawn a seperate ffmpeg process now, no longer redirects sometimes. Plex transcoder has ability to update play status regardless of direct/plex paths. Add debug logging. 2020-06-20 14:21:31 -04:00
Jordan Koehn
0fe29e7598 Handle stream stream concatination using ffmpeg concat demuxer (ffmpeg 4.2+ required).
Change docker container to use alpine linux, comes with ffmpeg 4.2+ easier.
Encode commercials to be same video codec as programs when channel icons enabled. Resolution/framerate could still be problematic.
2020-06-20 13:26:37 -04:00
Jordan Koehn
1848a9c432 Implement plex transcoder api into PseudoTV-Plex. Add more specific settings for ffmpeg/plex. Remove some options which are no longer valid/possible. 2020-06-20 13:26:33 -04:00
Dan Ferguson
bac4b191b2 0.0.5 - Bug fixes, subtitles, Google auth, channel icon overlay, dummy channel, other front end shit.. 2020-05-10 23:37:31 -04:00
Dan Ferguson
da4ff9fe1f FFMPEG User-Agent headers added to stream. M3U channel title fixed. M3U and HDHR channel urls include User-Agent 2020-04-26 13:20:52 -04:00
Dan Ferguson
00ba6a73c7 Fixed (i think) a timeline bug causing a program to start at an incorrect time 2020-04-26 11:36:49 -04:00
Dan Ferguson
681ab5f6c6 alpha v4 2020-04-23 16:11:40 -04:00