View Issue Details

IDProjectCategoryView StatusLast Update
0007240MMW v4DLNA/UPnPpublic2013-05-31 21:02
Reporterlowlander Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version4.0 
Target Version4.1Fixed in Version4.1 
Summary0007240: Allow users to run UPnP/DLNA as service
DescriptionThe ability to run UPnP as service would allow users to run UPnP without logging into their Windows account.
Steps To ReproduceAlso requested is to run Podcast downloader as service.
Additional Informationhttp://www.mediamonkey.com/forum/viewtopic.php?f=4&t=55012
http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=58521
http://www.mediamonkey.com/forum/viewtopic.php?f=20&t=68016
http://www.mediamonkey.com/forum/viewtopic.php?f=20&t=68969
http://www.mediamonkey.com/forum/viewtopic.php?f=20&t=69711
TagsNo tags attached.
Fixed in build1639

Relationships

parent of 0010873 closedLudek Re-install fails when MM is running as service 
parent of 0010910 closedLudek Running both MediaMonkey and MediaMonkey service can lead to errors 
parent of 0010937 closedLudek Some addons cannot be re-installed when MM service is running 

Activities

Ludek

2013-02-21 14:30

developer   ~0035031

Last edited: 2013-05-16 09:29

Added in build 1625.

To install/test the service:

1. Call this command (run cmd as admin): MediaMonkeyService.exe /INSTALL
- this installs MM service that runs automatically on system reboot (on the Local System account)
2. Restart the computer to run the service
(to manual start or to edit the service go to Task Manager -> Services tab -> [Services...] button -> MediaMonkeyService)

MediaMonkey is now running as service on background, the only problem is that it is no longer running on <user> account, this means that MediaMonkey data (like MM.DB) are not taken from
C:\Users\<user>\AppData\Roaming\MediaMonkey\MM.DB
but from
C:\Windows\system32\config\systemprofile\AppData\Roaming\MediaMonkey\MM.DB

To solve this conflict you can
1. Copy the data from the user profile to the local system profile
2. Or (more usable) install MM as Portable, this way the data are common for all user profiles, because they are in the Portable folder (where MediaMonkey.exe is located)
3. Or change the service account to the user account (Task Manager -> Services tab -> [Services...] button -> MediaMonkeyService -> Log on)


To uninstall the service call this command
MediaMonkeyService.exe /UNINSTALL

peke

2013-03-10 00:01

developer   ~0035314

Initial implementation works, but I was Wondering is we can use Com Elevator to set/start it within MMW options, Possibly adding /user="<Username>" to ensure that right MM.DB is used.

lowlander

2013-03-16 02:35

developer   ~0035403

On 1629 on PC startup 2 instances of MediaMonkey.exe are started.

Ludek

2013-05-16 09:26

developer   ~0036102

Last edited: 2013-05-16 09:43

Yes, I plan to add it to MM options either to "OS integration" panel or "Media Sharing (UPnP/DLNA)" panel. Something like
[Install as service] [Configure]

Assigned to me for implementation.

Re: the two MediaMonkey.exe instances: Yes, one EXE is for the MM service (without UI).

Ludek

2013-05-16 14:14

developer   ~0036103

Last edited: 2013-05-16 16:15

Added UI to Options -> Media Sharing (UPnP/DLNA)
in build 1639.

There is new [Install as service] button for installing service and entering account password. I resolved also log on error for blank passwords so now the service will always run on the user account and thus right MM settings is used.

The [Install as service] button changes to [Uninstall service] button once service is instaled.

peke

2013-05-31 21:02

developer   ~0036266

Verified 1640