Skip to content

Gets all available recordings on a Fetch set top box and converts to a BAT script to encode to MP4 with VLC.

Notifications You must be signed in to change notification settings

deslea/uPnPSTBQuery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

uPnPSTBQuery

Python application that gets all available recordings on a Fetch set top box and converts to a BAT script, to encode the available recordings to MP4 with VLC. The output BAT script is saved but not executed, meaning the user can manually edit if desired - eg, to delete commands for recordings that are already saved or otherwise not wanted, break the job into batches, etc - prior to manual execution.

This is my first public application and I don't know how widely it will transfer to other uPNP or Fetch use cases beyond mine. My Fetch box is one distributed for the Australian market; it is not known how universal the config and XML schema for these might be.

The code is heavily commented to assist in adaptation to differently-configured Fetch boxes and/or similar uPNP devices. It is likely that anyone seeking to communicate with a uPNP device will find some aspects of this useful, but it was written originally for my own environment and is offered strictly as-is.

2023-09-04 addendum: After reinstalling my system and getting the script working again in my new build, I have discovered one dependency issue that doesn't become directly apparent from the script or returned errors: In addition to the stated imported packages (bs4 and requests), the script also depends on lxml (which I believe is a knock-on requirement for bs4). So in short, if your system has python, bs4, requests, and lxml, you should be good to go.

About

Gets all available recordings on a Fetch set top box and converts to a BAT script to encode to MP4 with VLC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages