Jump to content

live tv epg refreshing keeps getting automatically cancelled


Recommended Posts

Posted

emby live tv epg refreshing schedule  keeps getting automatically cancelled until i stop the emby server from the ui and run emby again. after that it takes about a week for it to re-occurr.

maybe it has something to do with me killing emby with the taskkill command from a batch file? i do it that way because ive created a batch script to quickly kill all my servers at the same time in one click. then i have a second batch file that starts them all up again in one click. this probably does something to the emby database which is why i need to stop emby in th eemby ui to allow emeby to delete the shw files. but is there something you guys could do to prevent taskkill from breaking the shw database files to begin with?

Posted
Quote

maybe it has something to do with me killing emby with the taskkill command from a batch file?

Hi, probably, yes? Can we see a specific example?
 

Thanks.

Posted (edited)
6 hours ago, Luke said:

Hi, probably, yes? Can we see a specific example?
 

Thanks.

stop_all_servers.bat  maybe i should add a line to delete the shm file after it kills everything

 

Edited by eeeeeesy
Posted

i just now added these to the bottom

 

DEL C:\Users\User0\AppData\Roaming\Emby-Server\programdata\data\library.db-shm
DEL C:\Users\User0\AppData\Roaming\Emby-Server\programdata\data\library.db-wal

ill see how this goes

Posted

Yea definitely not recommended.

Posted
1 hour ago, Luke said:

Yea definitely not recommended.

 so is there a way to shutdown emby properly from the CMD prompt rather than killing it?

Posted
25 minutes ago, eeeeeesy said:

 so is there a way to shutdown emby properly from the CMD prompt rather than killing it?

Not directly, you’d have to send an http request to the Emby server API. 

Posted
4 hours ago, Luke said:

Not directly, you’d have to send an http request to the Emby server API. 

can you give me the curl command to do that from a batch file?

Posted

i assume some kind of post command but i dont know how to specify my api key nor the shutdown command found in the api

Posted

thanks for the hint

  • Thanks 1

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