Jump to content

Client App: Email my Users New Media (new edition needs testing)


Recommended Posts

Posted (edited)

Having trouble running this, getting this message on launch:

System.NullReferenceException: Object reference not set to an instance of an object.
   at EPK.LoginPage.VB$StateMachine_2_ShowUserList.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)

The app still shows in the tasktray and I can open it to configure settings, however I can't find where to setup my Emby account, and the test e-mail fails.

 

edit: I get this on test send:

System.NullReferenceException: Object reference not set to an instance of an object.
   at EPK.EmailClient.VB$StateMachine_0_Send.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)

Edited by bfir3
Posted

Sorry about that @@bfir3

 

I will look at fixing this up. It got away from me.

 

Once you log in, this app will use that Libraray to gather information about new media items.

 

Currently it will only use one Libraray for information at a time.

 

I'll get back to you shortly with a fix for that error.

b0dyr0ck2006
Posted (edited)

I cant seem to get it to work at all now

 

Capturef0192.jpg

Edited by b0dyr0ck2006
Happy2Play
Posted

Works fine for me using Hotmail/Outlook.

Posted

I cant seem to get it to work at all now

 

Capturef0192.jpg

 

I'm also getting the same thing using the latest beta server.

Happy2Play
Posted

@@b0dyr0ck2006, @@Pais, Have you verified your information is being saved in the Settings.xml?

  • 3 weeks later...
fredg89
Posted

I'm getting an error as well. Just downloaded and tried to run.

 

XH7jNSV.png

chef
Posted (edited)

I know what this might be. But, I haven't the time to fix it.

 

I will post the .sln here tonight maybe someone wants to look it over.

 

It has some really cool coding features like .net writing HTML dynamically and emailing it out.... When it works of coarse...

Edited by chef
fredg89
Posted

I know what this might be. But, I haven't the time to fix it.

 

I will post the .sln here tonight maybe someone wants to look it over.

 

It has some really cool coding features like .net writing HTML dynamically and emailing it out.... When it works of coarse...

So I'm guessing this has to run on the same computer as the Emby server? I don't see anywhere to change the location of Emby.

  • 3 weeks later...
b0dyr0ck2006
Posted

are we still using the download from @@chef first post?

Posted (edited)

it should run on any windows computer on your network because it opens as a client connection to the server, but it has to e in the same subnet as the server because it is not setup to run outside your network.

Edited by chef
Posted

I cant seem to get it to work at all now

 

Capturef0192.jpg

This error here is because the email address to send the campaign from didn't save properly in the settings.xml

  • 2 weeks later...
Posted

Hello Chef,

is it possible to use this program as "stand alone"

or to modified this.

Because my emby server is running on a qnap at the local network.

 

cu Taurec

Posted

Hello Chef,

is it possible to use this program as "stand alone"

or to modified this.

Because my emby server is running on a qnap at the local network.

 

cu Taurec

I would have to convert all the code to CS, because it would have to run on Linux.

 

Does Qnap have the mscorlib in the OS?

Posted

Hello Chef,

sorry this i don't know.

To run cs program, qnap use Mono (dependency for the Emby Server on QNap)

 

(only what i have read is, the mscorlib.dll is used (dependencies referenced) when you create a executeable program with mkbundle via cli (option "–deps”)

source: (http://www.mono-project.com/archived/guiderunning_mono_applications/)

 

Maybe Luke can give you the right answer.

 

cu Taurec

Posted (edited)

I think I can make this work.

 

The app needs an overhaul anyway.

 

I was super busy lately and had a couple programs on the go.

 

I can try to convert the code and we can see if will run on Mono.

 

But it will no longer be a form application because I am pretty sure mscorlib doesn't handle any of Windows form. If that makes sense.

 

It may have to run from information in an XML which can be edited. Not pretty, but I can look into it for sure.

Edited by chef
Posted

Hello Chef,

 

there is no need to compile the program for Mono.

Let it run on Windows.

Only the connection to Emby must be adjustable (ip adr. port, name pw)

 

This was the meaning of my question to use this as "stand alone" program (on windows OS)

 

cu Taurec

P.S. other issue, have you done something on the plugin for the session infos for Rainmeter Skin?

  • Like 1
  • 4 months later...
Posted

did anyone manage to get this working again after the .net errors?

  • 1 month later...
Posted

@@chef

i just rebuilt my server and it appears i'm having the same issue as others mentioned above.   you happen to have time to take a look?

thanks

  • 1 month later...
Posted

bouncing the topic for chef to see....

 

thanks

  • 4 weeks later...
Posted

DL link not working?

Works well here.
Posted

Hi Chef, tested out the new app. working fine for me using my hotmail account. i had to manual edit the settings.xml to change the false settings to true as the tick boxes in the app didnt seem to change it.

  • Like 1
Posted

Hi Chef, tested out the new app. working fine for me using my hotmail account. i had to manual edit the settings.xml to change the false settings to true as the tick boxes in the app didnt seem to change it.

Thanks for that! I'll see about the checkbox events.

 

I wonder why other people are getting JsonSerializer errors?

 

I can pinpoint the issue to the point when the program is trying to build a client object/interface for emby, but can figure out why it only happens on some computers and not others...

 

May I ask what server version you are running, and what version of Windows you are on?

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
×
×
  • Create New...