DVBLink conversion

plex
(Janne Miettunen) #1

Hi,

I’m in process of getting rid of DVBLink installation.

I see there’s a script written for DVBLink information extraction, but I’m such a newbie to MCEBuddy, that I don’t understand a thing of it, so could I get some directions please?

The process:
I need to convert DVBLink recorded files with metadata included for Plex media server, originally I was planning for Emby media server, but there’s no app for my Samsung Blu-ray player, but for Plex there is.

After that I plan to drop NextPVR and opt for Plex’s inbuilt TV tuner support, if it’s good enough after I’ve tested it.

(Goose) #2

Are you referring to this post?

It should be fairly straightforward. Step are modifications to be made to your mcebuddy.profiles file, specifically to the profile that you want to use. Step 2 is the file you need to create/save which will be called by MCEBuddy when it uses the profile.

You can find more details about profiles and custom commands here:

(Janne Miettunen) #3

Thanks, that clears it up. I’ll report when I have set it up.

(Janne Miettunen) #4

Tried the XML-version, isn’t that more compatible with Plex?

Anyways, no go for the script, with following errors in log:

2019-05-02T21:39:25 MCEBuddy.AppWrapper.Base --> Launching process c:\strawberry\perl\bin\perl.exe
2019-05-02T21:39:25 MCEBuddy.AppWrapper.Base --> Process arguments c:\strawberry\dvblink.pl "\\nas4free\storage\mediabackup\share\Nauhoitukset\Dokumenttiprojekti_Nuoret_nettiaddiktit-2130_20150824-12-10240000-1440441000.ts"
2019-05-02T21:39:25 MCEBuddy.AppWrapper.Base --> UI Session Admin Process : False
2019-05-02T21:39:25 MCEBuddy.AppWrapper.Base --> Setting process priority to Normal
2019-05-02T21:39:26 MCEBuddy.AppWrapper.Base --> Can't load 'c:/strawberry/perl/vendor/lib/auto/XML/Parser/Expat/Expat.xs.dll' for module XML::Parser::Expat: load_file:Määritettyä osaa ei löydy at c:/strawberry/perl/lib/DynaLoader.pm line 193.
2019-05-02T21:39:26 MCEBuddy.AppWrapper.Base -->   at c:/strawberry/perl/vendor/lib/XML/Parser.pm line 18.
2019-05-02T21:39:26 MCEBuddy.AppWrapper.Base --> Compilation failed in require at c:/strawberry/perl/vendor/lib/XML/Parser.pm line 18.
2019-05-02T21:39:26 MCEBuddy.AppWrapper.Base --> BEGIN failed--compilation aborted at c:/strawberry/perl/vendor/lib/XML/Parser.pm line 22.
2019-05-02T21:39:26 MCEBuddy.AppWrapper.Base --> Compilation failed in require at c:\strawberry\dvblink.pl line 9.
2019-05-02T21:39:26 MCEBuddy.AppWrapper.Base --> BEGIN failed--compilation aborted at c:\strawberry\dvblink.pl line 9.
(Goose) #5

This looks like a Strawberry Perl setup error. It can’t seem to find a module internally. Maybe google to figure out what’s going on.

(Janne Miettunen) #6

May have something to do with UNC paths (network folder). Going to try moving a file to local storage.

(Janne Miettunen) #7

Nope, nothing to do with UNC-paths, still the same error.

(Goose) #8

It doesn’t have anything to with your files/MCEBuddy, it’s a strawberry perl environment/setup issue. It trying to load some modules which don’t exist or can’t be found. Don’t know what code page you’re using in your environment but it looks like it’s set to Finnish.

Translates to

The specified part is not found

(Janne Miettunen) #9

Yep, it’s trying to load Expat.xs.dll, but does not succeed, if I read the log correctly. I checked that the file is there.
I’ll try a older Strawberry release.

(Janne Miettunen) #10

Tried the 2017 build of Strawberry and got some progress.

Now the error is “Can’t locate XML/LibXML/PrettyPrint.pm in @INC (you may need to install the XML::LibXML::PrettyPrint module)”

I’ll search for the module and attempt to install it.

(Janne Miettunen) #11

Another module missing, installing that too.

Can’t locate XML/LibXML/Iterator.pm in @INC (you may need to install the XML::LibXML::Iterator module)

(Janne Miettunen) #12

Also had to install XML::Writer

However still doesn’t work, getting following errors:

2019-05-03T18:07:08 MCEBuddy.AppWrapper.Base --> Launching process c:\strawberry\perl\bin\perl.exe
2019-05-03T18:07:08 MCEBuddy.AppWrapper.Base --> Process arguments c:\strawberry\dvblink.pl “\nas4free\storage\mediabackup\share\Nauhoitukset\Historia_Tiede_pahan_palveluksessa-2000_20150829-27-10180000-1440867604.ts”
2019-05-03T18:07:08 MCEBuddy.AppWrapper.Base --> UI Session Admin Process : False
2019-05-03T18:07:08 MCEBuddy.AppWrapper.Base --> Setting process priority to Normal
2019-05-03T18:07:10 MCEBuddy.AppWrapper.Base --> “my” variable $ccnt masks earlier declaration in same scope at c:\strawberry\dvblink.pl line 74.
2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base --> Use of uninitialized value $xmlres in substitution (s///) at c:\strawberry\dvblink.pl line 95.
2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base --> Use of uninitialized value $xmlres in substitution (s///) at c:\strawberry\dvblink.pl line 96.
2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base --> Use of uninitialized value $xmlres in substitution (s///) at c:\strawberry\dvblink.pl line 97.
2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base --> Empty String at c:\strawberry\dvblink.pl line 101.
2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base --> searching for file =\nas4free\storage\mediabackup\share\Nauhoitukset\Historia_Tiede_pahan_palveluksessa-2000_20150829-27-10180000-1440867604.ts
2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base -->
2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base --> An Error Occurred
2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base -->
2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base -->

An Error Occurred


2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base -->

401 Unauthorized


2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base -->
2019-05-03T18:09:11 MCEBuddy.AppWrapper.Base -->

Authorization shouldn’t be a problem, I modified the script file to include my DVBLink username and password.

(Janne Miettunen) #13

Same issue with ArgusTV-format script, except that I also had to modify port information that points to DVBLink in the script.
The port of was in use in a older version of DVBLink, is it that these scripts just don’t work with DVBLink 6.0.0?

(Goose) #14

Would you like to share the new scripts/guides with the community? I’ll be happy to update the original posts with your guide/version information.