| |||||||
| Improvement Suggestions You have an idea how MediaPortal could be improved? Post it in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member | If I add new music files to a music directory, it is not reflected in the music database. Currently I have to open configuration and manually do an update on the music database. I suggest that MP does an automatic update of the music database periodically, for example at nighttime or once an hour or so. |
| | |
| | #3 (permalink) |
| Portal Member | yeah, that's ok for the moment. But we want MP to be smart, won't we? Imagine some non-computer-aware family member; he just want to find the music he wants. He wants not to bother with the question if someone else just added new files (and if he has to press the scan button). MP should have an up-to-date database automatically, so that I can just use it without thinking. I can imagine that the music database update is an expensive operation, therefore I suggest to let the user decide on which time it happens. MP already have some kind of scheduling for TV recording, perhaps that code could be used to schedule these kind of events, too. |
| | |
| | #4 (permalink) |
| Retired Team Member | but we also want MP to be fast, It's annoying to have MP scan your music share everytime you enter it. And do not say "well you can look during startup, or once everyday" cause that will not really work for this feature as you want your music available after you put it there and not wait then till the next day. It will end up in you still pressing the scan button. |
| | |
| | #5 (permalink) |
| Portal Member Join Date: Aug 2004 Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts
| Just a point: .NET does offer a convenient FileSystemWatcher that can be used to detect changes to a particular folder and then react accordingly. This is currently being used for detection of whether tvguide.xml has changed or not. If so, the tvdatabase is updated. If it can be done for the tvdatabase, I'm sure it can be for the music database as well, without a lot of performance problems... Sam |
| | |
| | #6 (permalink) |
| Portal Member | that would be perfect. Or another possibility could be to do the music scan in a background thread? I don't now how good support for threads is in .NET, but since it's a modern language, I assume the support is there :-) But I know that it could be complicated to deal with multithreading - so if MP can watch changes in the music folder it would be the perfect solution from my point of view. |
| | |
| | #8 (permalink) |
| Guest
Posts: n/a
| Just a thought, I think a combination of both would be good. For example have it scan automatically once a day, say when the computer is idle, and also have the button, so if I know i just added something and i want to play it right now, I can hit the scan button. Cheers |
|
| | #9 (permalink) | |
| Portal Developer Join Date: Jan 2005 Age: 30
Posts: 3,462
Thanks: 92
Thanked 115 Times in 93 Posts
| Quote:
- Automated task - MP scans selected music folders on specific times (i.e. wakes computer from suspend / hibernate in the midle of the night) - Use .Net to watch directory contents updates (only if this doesn't add too much overhead and cause lag/stutter etc.) - Keep that scan button, if user want's to manually make sure that database is up to date (this should be unneccesary if .net file watching works ok)
__________________ http://day2.no-ip.org/ "Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen" | |
| | |
| | #10 (permalink) | |
| Guest
Posts: n/a
| Quote:
| |
|
![]() |
| Bookmarks |
| Tags |
| automatic, database, music, update |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| (original thread) US/Canadian/Mexico EPG Zap2it Plugin Released | bradsjm | zap2it (discontinued) | 513 | 2007-02-21 15:07 |
| 0.2.1 and latest svn MyPictures thumbnails broken | gloomyandy | Codecs, External Players | 1 | 2006-10-24 11:01 |
| Update to music database scanning | nzsp | Improvement Suggestions | 5 | 2006-09-15 10:13 |
| Technotrend DVB-S no LNB switch | Erbsenkopp | General Support | 0 | 2006-08-03 10:04 |
| Technotrend Budget 1500 CI no LNB switch | Erbsenkopp | General Support | 0 | 2006-08-03 09:46 |