Open AMT-Cheif opened 5 months ago
Hi @AMT-Cheif,
sorry for the late reply. When I built this software I was so naive to think ppl. might wanna buy this software, but that didn't quite work as expected. Thats the reason why you cannot build it too, bcs it has (intended) local dependencies. I'm even not quite sure, if I can still build this software since it was running for ever with just minor issues.
Feel free to use this build I have just zipped from my local machine: https://www.dropbox.com/scl/fi/sqwawkomx3q93tj5u8qht/PanasonicSync.zip?rlkey=7dyfwu0mjvnbii4ugnznh2dfp&dl=0
Currently there are 2 or 3 known bugs:
If you want you can update the ffmpeg binaries within the bin folder from time to time; This tool also compares movie names of already synced movies by percentage of similarity (I think it was something like 90%).
If you want to modify this tool I would recommend to rewrite this tools to be up to date with dependencies and framework versions.
The important parts are: UpnpClient/Client.cs (UPNP device detection in network [does not support all VPNs as I know now ^^']) APIClient/Panasonic/PanasonicClient.cs (REST-like XML communication part for the panasonic device)
Also here you can find the "handy" ffmpeg wrapper (probably also needs refactoring etc.): https://www.dropbox.com/scl/fi/5kusblmm5926ufvwqpzr3/FFmpegStandardWrapper.zip?rlkey=iyn8s6vd77mhm9amqdt7ckrnb&dl=0
It does not work with local folder right? when it can't find the network it ask me to retry or close. Asked because I have not a NAS, and my DRM EX773 does not have a lan port.
It works with local folders and network folders as well. There should be no issue at all since its just using System.IO.
Also I developed this tool for the model: "DMR-BST740/745" => Sadly I cannot promise that it works for others too, but that would be nice to know.
"When it can't find the network it ask me to retry or close." => Have you already tried point nr. 3 from my previous response or are there any unclear instructions? As I said already this UPNP communication was flaky from time to time and by that hard to analyse. However these fixes from above could resolve the issues when they occured.
The retry or close message simply tells you, that no device in the network did respond in time to the UPNP broadcast message; From what I figured out back in these days, I had to send a magic string via broadcast in the network and UPNP devices would pick up on that and respond to this message. Afterwards only a simple REST like communication was required in order to get the movie list.
Alternatively we could take a look in the log files. You can find these under: C:\Users\
Also please consider: At least for my device I also figured out, that it can handle always only 1 task at a time; That means that it can either record a movie or stream a movie to a single device; Multiple streams / records or both at once are not possible and lead to communication issues!
Hello, I'm trying o compile it but I get many nuget packages error, Can you help me? CAn you explain how it work?