Jump to content

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


chef

Recommended Posts

bfir3

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
Link to comment
Share on other sites

chef

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.

Link to comment
Share on other sites

b0dyr0ck2006

I cant seem to get it to work at all now

 

Capturef0192.jpg

Edited by b0dyr0ck2006
Link to comment
Share on other sites

  • 3 weeks later...
chef

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
Link to comment
Share on other sites

fredg89

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.

Link to comment
Share on other sites

  • 3 weeks later...
chef

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
Link to comment
Share on other sites

chef

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

Link to comment
Share on other sites

  • 2 weeks later...
Taurec

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

Link to comment
Share on other sites

chef

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?

Link to comment
Share on other sites

Taurec

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

Link to comment
Share on other sites

chef

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
Link to comment
Share on other sites

Taurec

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
Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...
  • 1 month later...
  • 4 weeks later...
Swynol

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
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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...