Old 30th January 2008, 21:01   #1
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
Bug?: Ejecting not fully working

Hi,
I don't know if this is a bug or not but...

Every time I eject my iPod, the iPod is not fully ejected... I mean, the icon and item in the ML disappears, I can no longer access the iPod's drive in explorer but:

1) There's still the removable disk item in explorer, although, trying to open it, outputs an error saying to insert the removable disk (or something like this)

2) The little icon in notification area that allows us to remove the hardware safely is still there.

So, ejecting, should completely remove the icon from the notification area and remove the drive from explorer.
Nazgulled is offline   Reply With Quote
Old 30th January 2008, 21:50   #2
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
All been covered before...
http://forums.winamp.com/showthread....hreadid=270692
http://forums.winamp.com/showthread....hreadid=285696
etc...
Did you try the search?

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 31st January 2008, 01:37   #3
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
No I didn't, sorry about that.

I read those topics but I don't know what to think... Is the problem being worked on or is there some workaround?
Nazgulled is offline   Reply With Quote
Old 31st January 2008, 06:56   #4
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Nobody knows how to do it...

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 31st January 2008, 11:41   #5
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
But other applications do it, so there must be a way I believe... Of course I don't know anything about it nor the langauge your coding and if it's not as easy as some other languages...

Have you heard of SongBird? There's an extension to manage iPods, I think their eject works fine, and it's open-source, maybe you could take a look some day...
Nazgulled is offline   Reply With Quote
Old 31st January 2008, 12:34   #6
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
SongBird uses CM_Request_Device_Eject, which is the same as DevEject.exe. So probably if you eject in Songbird, the iPod stops charging, too (on Win32 only, of course). Do you have Songbird installed? If so, test it.

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 31st January 2008, 18:07   #7
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
I don't really understand what's the problem with ejecting and iPod still charging or not as I don't really know how it's supposed to work if we were using iTunes. But here's my testing:

SongBird:
1) Plugged the iPod to the PC.
2) Opened SongBird, the iPod was detected and I could read the iPod's library.
3) Pressed the eject button on SongBird.
4) The iPod item was removed from SongBird's library and a little message poped up (pointing to the icon in the notification area) saying I could safely remove the device.
5) Before removing it, I looked at the battery icon in the menu: it is green with a little black lightning bolt on it (charging right?). After a while, the screened changed to a big green battery icon with the same black lightning bolt on it but the green battery fill was moving through left to right looping the animation.
6) Removed the iPod usb cable without any problems.
7) The lightning bold inside the green battery icon is gone.

Winamp with ml_ipod:
1) Plugged the iPod to the PC.
2) Opened Winamp, the iPod was detected and I could read the iPod's library.
3) Pressed the eject button on Winamp.
4) The iPod item was removed from Winamp's library but no message poped up saying I could safely remove the device.
5) The icon in the notification area to safely remove hardware is still visible and the battery icon is green with a black lightning bold on it.
6) Clicked on the notification area and safely removed the iPod. The battery icon is still green with a black lightning bolt.
7) Removed the iPod usb cable without any problems.
8) The lightning bold inside the green battery icon is gone.

That conclusion do you make after this?
Nazgulled is offline   Reply With Quote
Old 31st January 2008, 18:27   #8
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
point 5 with Songbird is the interesting one. That was not expected. So SongBird does better here than deveject.exe. Don't know why, but it's worth to try that code. Thanks for testing.

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 31st January 2008, 19:38   #9
mk01
Junior Member
 
Join Date: Jan 2007
Posts: 18
I just tested it with Songbird (and a fine piece of software it turned out to be ) and, at least in my experience, its eject works exactly like DevEject - no charging afterwards, limited users friendly.
mk01 is offline   Reply With Quote
Old 1st February 2008, 01:11   #10
fatcerberus1
Major Dude
 
fatcerberus1's Avatar
 
Join Date: Mar 2007
Location: United States
Posts: 806
Wait, what version of Windows did Nazgulled test that on? On XP, safe removal indeed stops the 'pod from charging, but on Vista, it doesn't. If he tested it on Vista, then Songbird's behavior isn't entirely unexpected...

Windows 7 Beta
iPod touch (Second Generation), 8GB
Winamp 5.55 with ml_iPod 3.08
fatcerberus1 is offline   Reply With Quote
Old 1st February 2008, 02:35   #11
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
Yes, I'm using Windows Vista. But I think you should still take a look at SongBird's code, if there's no way to fix it for XP (yet) you could at least do it for Vista users as a temporary solution maybe.
Nazgulled is offline   Reply With Quote
Old 1st February 2008, 06:24   #12
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Does DevEject work on Vista? Then you can just use that option...

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 1st February 2008, 12:18   #13
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
Hum... I edited the file C:\Users\Nazgulled\AppData\Roaming\Winamp\winamp.ini and added the line useDevEject=1 under the [ml_ipod] section but it didn't work. The same thing happened as before (eject works inside winamp but the icon still remains in the notification area).

Maybe I did something wrong?
Nazgulled is offline   Reply With Quote
Old 1st February 2008, 13:41   #14
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Could you attach your main debuglog, please?

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 1st February 2008, 16:52   #15
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
Quote:
=== init() ===
Tue Jan 29 03:31:51 2008
ml_ipod version 3.02 (lang=en)
WinAmp version 0x5052 PRO
Windows version 6.0 (build 6000) platformId=2 os2k=1 = Vista
conf_file = C:\Users\Nazgulled\AppData\Roaming\Winamp\Winamp.ini
conf_dir = C:\Users\Nazgulled\AppData\Roaming\Winamp
mlipod_folder = C:\Program Files\Winamp\plugins\ml_ipod
artworkDllsLoaded = 1
hwndLibraryParent = 0039068E
hwndWinampParent = 004704B0
hwndTreeview = 000E069E
g_log = 0 "C:\Program Files\Winamp\iPod Transfer Log.txt"
g_detectAll=0 g_detectAllCyclic=1
ml_AudioScrobbler.dll not loaded
=== quit() ===
[03:32:20] oops, window proc changed 104223280 0
[03:32:20] waiting: now 0 iPod(s) active
[03:32:20] done: now 0 iPod(s) active
[03:32:20] quit() finished, exit
=====================
Is this what you want?
Nazgulled is offline   Reply With Quote
Old 1st February 2008, 19:42   #16
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Yep, thanks. But I need it after you ejected your iPod, it should contain some extra lines then, especially at the end.

First look if the file C:\Program Files\Winamp\plugins\ml_ipod\deveject.exe is present.
Try to run it from the commandline, when your iPod is attached (no Winamp running), like this:
deveject.exe -EjectDrive:X:
if the iPod is drive X:. Does it eject the iPod correctly?

That's all a bit complicated because I have no Vista machine to test it, so you've got to do it all...

BTW: Time to update to 3.03

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 1st February 2008, 22:27   #17
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
Already updated...

Here's a new file, but I was monitoring changes to the file and it wasn't modified after pressing "Eject" on Winamp, so, I don't know if it contains the data you are looking for:

Quote:
=== init() ===
Fri Feb 01 21:22:19 2008
ml_ipod version 3.03p01 (lang=en)
WinAmp version 0x5052 PRO
Windows version 6.0 (build 6000) platformId=2 os2k=1 = Vista
conf_file = C:\Users\Nazgulled\AppData\Roaming\Winamp\Winamp.ini
conf_dir = C:\Users\Nazgulled\AppData\Roaming\Winamp
mlipod_folder = C:\Program Files\Winamp\plugins\ml_ipod
artworkDllsLoaded = 1
QTMLClient.dll not found, no iPhone/iTouch support
g_log = 0 "C:\Program Files\Winamp\iPod Transfer Log.txt"
g_detectAll=0 g_detectAllCyclic=1
ml_AudioScrobbler.dll not loaded
starting ThreadFunc_AutoDetect
WM_DEVICECHANGE arrival=1 drv=G
starting ThreadFunc_ParseDB
+++ new iPod: G:/iPod_Control/iTunes/
ini_file_onDevice = G:/iPod_Control/iTunes/ml_ipod.ini
ini_file = C:\Users\NAZGUL~1\AppData\Local\Temp\ml_ipod_G.ini
Size: 152360 MB, free 70920 MB
Detected iPod model: 6G classic / XX01
got FWID from ini: 000A270013083A4D
Parsing DB G:/iPod_Control/iTunes/
NDE creating db C:\Users\NAZGUL~1\AppData\Local\Temp\ipodtracks_G.dat
parse_trkinfo: 39ms
it_add_playlist: (MPL) added to tree: node=8028 "Nazgulled’s iPod"
it_add_playlist: (1) added to tree: parent=8028 node=8029 "Soft Songs"
it_add_playlist: (2) added to tree: parent=8028 node=8030 "Top 25 Most Played"
it_add_playlist: (3) added to tree: parent=8028 node=8031 "Underground Songs"
it_add_playlist: (4) added to tree: parent=8028 node=8032 "Various Songs"
itunesdb_parse_file: 3924ms
parsing DB ok
sortPlaylists ok
smartSync: starting
smartSync: 2848 common songs
smartSync cleanup
smartSync: done, changed = 0
smartSyncRatings ok
ml_AudioScrobbler.dll not loaded
update icons ok
constructor finished
GetAllMlViews: 9 q in C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\gen_ml.ini
[21:28:23] PrepareForSendingFiles
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
convertM3uToRecordList: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
read from file: 1
converted: 1
Sync: ML querys: 148ms
Sync: finding matches: 328ms
Sync: finding toRemove: 0ms
Sync: Generate transfer list: 477ms
GetAllMlViews: 9 q in C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\gen_ml.ini
SyncSmartViews, mode=select rules:2
-> Audio
PL not synced: Audio
-> Video
PL not synced: Video
-> Most Played
PL not synced: Most Played
-> Recently Added
PL not synced: Recently Added
-> Recently Played
PL not synced: Recently Played
-> Never Played
PL not synced: Never Played
-> Top Rated
PL not synced: Top Rated
-> Various Songs
PL to sync: Various Songs
reassign SPL rule: filename HAS "Music\Various"
SV/SPL synced: Various Songs res=1
-> Underground Songs
PL to sync: Underground Songs
reassign SPL rule: filename HAS "Music\Underground\Various"
SV/SPL synced: Underground Songs res=1
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
getM3uNameForIpod: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
smartSync: starting
smartSync: 2848 common songs
smartSync cleanup
smartSync: done, changed = 0
NDE query: filename HAS "Music\Underground\Various" found:76
NDE query: filename HAS "Music\Various" found:117
[21:31:15] PrepareForSendingFiles
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
convertM3uToRecordList: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
read from file: 1
converted: 1
Sync: ML querys: 164ms
Sync: finding matches: 118ms
Sync: finding toRemove: 0ms
Sync: Generate transfer list: 283ms
GetAllMlViews: 9 q in C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\gen_ml.ini
SyncSmartViews, mode=select rules:2
-> Audio
PL not synced: Audio
-> Video
PL not synced: Video
-> Most Played
PL not synced: Most Played
-> Recently Added
PL not synced: Recently Added
-> Recently Played
PL not synced: Recently Played
-> Never Played
PL not synced: Never Played
-> Top Rated
PL not synced: Top Rated
-> Various Songs
PL to sync: Various Songs
reassign SPL rule: filename HAS "Music\Various"
SV/SPL synced: Various Songs res=1
-> Underground Songs
PL to sync: Underground Songs
reassign SPL rule: filename HAS "Music\Underground\Various"
SV/SPL synced: Underground Songs res=1
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
getM3uNameForIpod: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
smartSync: starting
smartSync: 2848 common songs
smartSync cleanup
smartSync: done, changed = 0
NDE query: filename HAS "Music\Underground\Various" found:76
NDE query: filename HAS "Music\Various" found:117
starting eject procedure
updating 2 smart playlists...
NDE query: filename HAS "Music\Underground\Various" found:76
NDE query: filename HAS "Music\Various" found:117
smartSyncRatings...
smartSync: starting
smartSync: 2848 common songs
smartSync cleanup
smartSync: done, changed = 0
write DB (synchronous)...
close_ini()...
EjectVolume()...
calling "C:\Program Files\Winamp\plugins\ml_ipod\deveject.exe" -EjectDrive:G:
process exit code: 10
eject ok
--- iPod destructor running
ml_AudioScrobbler.dll not loaded
NDE closing db
--- iPod removed: G:/iPod_Control/iTunes/
eject procedure finished
WM_DEVICECHANGE arrival=0 drv=G
checking for iPod to delete
WM_DEVICECHANGE arrival=1 drv=G
starting ThreadFunc_ParseDB
+++ new iPod: G:/iPod_Control/iTunes/
ini_file_onDevice = G:/iPod_Control/iTunes/ml_ipod.ini
ini_file = C:\Users\NAZGUL~1\AppData\Local\Temp\ml_ipod_G.ini
Size: 152360 MB, free 70920 MB
Detected iPod model: 6G classic / XX01
got FWID from ini: 000A270013083A4D
Parsing DB G:/iPod_Control/iTunes/
NDE creating db C:\Users\NAZGUL~1\AppData\Local\Temp\ipodtracks_G.dat
parse_trkinfo: 87ms
it_add_playlist: (MPL) added to tree: node=8033 "Nazgulled’s iPod"
it_add_playlist: (1) added to tree: parent=8033 node=8034 "Soft Songs"
it_add_playlist: (2) added to tree: parent=8033 node=8035 "Top 25 Most Played"
it_add_playlist: (3) added to tree: parent=8033 node=8036 "Underground Songs"
it_add_playlist: (4) added to tree: parent=8033 node=8037 "Various Songs"
itunesdb_parse_file: 3818ms
parsing DB ok
sortPlaylists ok
smartSync: starting
smartSync: 2848 common songs
smartSync cleanup
smartSync: done, changed = 0
smartSyncRatings ok
ml_AudioScrobbler.dll not loaded
update icons ok
constructor finished
config_dlgproc_selplaylists: syncplaylist_mode
syncAll = true
numPlRules=0 numPl=1
* Soft Songs
CANCEL selected!
EndDialog
config_dlgproc_selplaylists: syncsmartview_mode
syncAll = false
GetAllMlViews: 9 q in C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\gen_ml.ini
numPlRules=2 numPl=9
* Audio
* Video
* Most Played
* Recently Added
* Recently Played
* Never Played
* Top Rated
* Various Songs
found rule: Various Songs
item selected: Various Songs
* Underground Songs
found rule: Underground Songs
item selected: Underground Songs
OK selected: 005B06D0
mode=select
GetAllMlViews: 9 q in C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\gen_ml.ini
-- unchecked, not written: Audio
-- unchecked, not written: Video
-- unchecked, not written: Most Played
++ checked, written: Recently Added num=1
++ checked, written: Recently Played num=2
-- unchecked, not written: Never Played
++ checked, written: Top Rated num=3
++ checked, written: Various Songs num=4
++ checked, written: Underground Songs num=5
written: syncsmartview_cnt=5
EndDialog
[21:34:39] PrepareForSendingFiles
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
convertM3uToRecordList: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
read from file: 1
converted: 1
Sync: ML querys: 115ms
Sync: finding matches: 122ms
Sync: finding toRemove: 0ms
Sync: Generate transfer list: 238ms
GetAllMlViews: 9 q in C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\gen_ml.ini
SyncSmartViews, mode=select rules:5
-> Audio
PL not synced: Audio
-> Video
PL not synced: Video
-> Most Played
PL not synced: Most Played
-> Recently Added
PL to sync: Recently Added
it_add_playlist: (5) added to tree: parent=8033 node=8038 "Recently Added"
adding new SPL: lastupd > [1 week ago]
SV/SPL synced: Recently Added res=1
-> Recently Played
PL to sync: Recently Played
it_add_playlist: (6) added to tree: parent=8033 node=8039 "Recently Played"
adding new SPL: lastplay > [1 week ago]
SV/SPL synced: Recently Played res=1
-> Never Played
PL not synced: Never Played
-> Top Rated
PL to sync: Top Rated
it_add_playlist: (7) added to tree: parent=8033 node=8040 "Top Rated"
adding new SPL: rating > "3"
SV/SPL synced: Top Rated res=1
-> Various Songs
PL to sync: Various Songs
reassign SPL rule: filename HAS "Music\Various"
SV/SPL synced: Various Songs res=1
-> Underground Songs
PL to sync: Underground Songs
reassign SPL rule: filename HAS "Music\Underground\Various"
SV/SPL synced: Underground Songs res=1
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
getM3uNameForIpod: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
smartSync: starting
smartSync: 2848 common songs
smartSync cleanup
smartSync: done, changed = 0
NDE query: lastupd > [1 week ago] found:215
NDE query: lastplay > [1 week ago] found:135
NDE query: rating > "3" found:2
NDE query: filename HAS "Music\Underground\Various" found:76
NDE query: filename HAS "Music\Various" found:117
[21:35:35] PrepareForSendingFiles
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
convertM3uToRecordList: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
read from file: 1
converted: 1
Sync: ML querys: 139ms
Sync: finding matches: 142ms
Sync: finding toRemove: 0ms
Sync: Generate transfer list: 283ms
[21:37:34] PrepareForSendingFiles
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
convertM3uToRecordList: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
read from file: 1
converted: 1
Sync: ML querys: 187ms
Sync: finding matches: 141ms
Sync: finding toRemove: 0ms
Sync: Generate transfer list: 329ms
GetAllMlViews: 9 q in C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\gen_ml.ini
SyncSmartViews, mode=select rules:5
-> Audio
PL not synced: Audio
-> Video
PL not synced: Video
-> Most Played
PL not synced: Most Played
-> Recently Added
PL to sync: Recently Added
reassign SPL rule: lastupd > [1 week ago]
SV/SPL synced: Recently Added res=1
-> Recently Played
PL to sync: Recently Played
reassign SPL rule: lastplay > [1 week ago]
SV/SPL synced: Recently Played res=1
-> Never Played
PL not synced: Never Played
-> Top Rated
PL to sync: Top Rated
reassign SPL rule: rating > "3"
SV/SPL synced: Top Rated res=1
-> Various Songs
PL to sync: Various Songs
reassign SPL rule: filename HAS "Music\Various"
SV/SPL synced: Various Songs res=1
-> Underground Songs
PL to sync: Underground Songs
reassign SPL rule: filename HAS "Music\Underground\Various"
SV/SPL synced: Underground Songs res=1
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
getM3uNameForIpod: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
smartSync: starting
smartSync: 2852 common songs
smartSync cleanup
smartSync: done, changed = 0
NDE query: lastupd > [1 week ago] found:219
NDE query: lastplay > [1 week ago] found:135
NDE query: rating > "3" found:2
NDE query: filename HAS "Music\Underground\Various" found:76
NDE query: filename HAS "Music\Various" found:117
[21:38:36] PrepareForSendingFiles
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
convertM3uToRecordList: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
read from file: 1
converted: 1
Sync: ML querys: 115ms
Sync: finding matches: 129ms
Sync: finding toRemove: 0ms
Sync: Generate transfer list: 245ms
GetAllMlViews: 9 q in C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\gen_ml.ini
SyncSmartViews, mode=select rules:5
-> Audio
PL not synced: Audio
-> Video
PL not synced: Video
-> Most Played
PL not synced: Most Played
-> Recently Added
PL to sync: Recently Added
reassign SPL rule: lastupd > [1 week ago]
SV/SPL synced: Recently Added res=1
-> Recently Played
PL to sync: Recently Played
reassign SPL rule: lastplay > [1 week ago]
SV/SPL synced: Recently Played res=1
-> Never Played
PL not synced: Never Played
-> Top Rated
PL to sync: Top Rated
reassign SPL rule: rating > "3"
SV/SPL synced: Top Rated res=1
-> Various Songs
PL to sync: Various Songs
reassign SPL rule: filename HAS "Music\Various"
SV/SPL synced: Various Songs res=1
-> Underground Songs
PL to sync: Underground Songs
reassign SPL rule: filename HAS "Music\Underground\Various"
SV/SPL synced: Underground Songs res=1
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
getM3uNameForIpod: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
smartSync: starting
smartSync: 2852 common songs
smartSync cleanup
smartSync: done, changed = 0
NDE query: lastupd > [1 week ago] found:223
NDE query: lastplay > [1 week ago] found:135
NDE query: rating > "3" found:2
NDE query: filename HAS "Music\Underground\Various" found:76
NDE query: filename HAS "Music\Various" found:117
[21:39:11] PrepareForSendingFiles
SyncPlaylists, mode=all rules:0
-> Soft Songs
PL to sync: Soft Songs
convertM3uToRecordList: C:\Users\Nazgulled\AppData\Roaming\Winamp\plugins\ml\plf608B.m3u8
read from file: 1
converted: 1
Sync: ML querys: 152ms
Sync: finding matches: 214ms
Sync: finding toRemove: 0ms
Sync: Generate transfer list: 368ms
My iPod is on drive G: but I get this:
Quote:
C:\Program Files\Winamp\Plugins\ml_ipod>deveject.exe -EjectDrive:G:
DevEject 1.0 2003 c't/Matthias Withopf

Invalid drive specification 'G:'!
Usage: deveject.exe -EjectDrive:<Drive>|-EjectName:<Name>|-EjectId:<DeviceId> [-
v] [-Debug]

C:\Program Files\Winamp\Plugins\ml_ipod>deveject.exe -EjectDrive:G
DevEject 1.0 2003 c't/Matthias Withopf

Invalid drive specification 'G'!
Usage: deveject.exe -EjectDrive:<Drive>|-EjectName:<Name>|-EjectId:<DeviceId> [-
v] [-Debug]
Nazgulled is offline   Reply With Quote
Old 1st February 2008, 22:33   #18
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
So it seems the deveject tool does not work on Vista

As I have no Vista, I'm unable to reproduce that or implement a workaround. Sorry.

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 1st February 2008, 22:38   #19
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
What exactly is the "Eject" button on Winamp doing then?

But if SongBird's eject is working, there must be a way to apply the same mechanism on ml_ipod, no?
Nazgulled is offline   Reply With Quote
Old 1st February 2008, 22:39   #20
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
You could try again with the version here: http://www.withopf.com/tools/deveject/deveject-11.zip

Seems to be updated by the author.

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 1st February 2008, 22:41   #21
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Quote:
Originally posted by Nazgulled
What exactly is the "Eject" button on Winamp doing then?
You can see the code here:
http://mlipod.cvs.sourceforge.net/ml...pp?view=markup

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 1st February 2008, 22:53   #22
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
Not the code, you see, one method to eject is using deveject, and the other is? That's what I was curious about and not the code as I barely understand it.

Just tried with that devject you posted but it's not working either...
Nazgulled is offline   Reply With Quote
Old 2nd February 2008, 11:32   #23
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
You could try to contact the author of deveject: http://www.withopf.com/tools/deveject/
There is a "Kontakt" link. Ask him about deveject on Vista. It is supposed to work.

And what shall I tell you about the other method, if you can't read the code? It's the way that is explained on MSDN, all the DeviceIoControl calls, the most important one being FSCTL_DISMOUNT_VOLUME and IOCTL_STORAGE_EJECT_MEDIA.

That is done even if deveject is used: First the internal eject proceure, and optionally call deveject after that.

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 2nd February 2008, 11:47   #24
fatcerberus1
Major Dude
 
fatcerberus1's Avatar
 
Join Date: Mar 2007
Location: United States
Posts: 806
This is interesting: foo_dop, an iPod plugin for foobar2000, performs a full safe-remove on the iPod when you eject it (including the balloon notification on the tray!). Works under Vista, too. Too bad the source code for the plugin isn't available...

Windows 7 Beta
iPod touch (Second Generation), 8GB
Winamp 5.55 with ml_iPod 3.08
fatcerberus1 is offline   Reply With Quote
Old 2nd February 2008, 12:53   #25
mk01
Junior Member
 
Join Date: Jan 2007
Posts: 18
I found the utility called USB Disk Ejector - http://quick.mixnmojo.com/quick-and-easy-week-day-7-usb-disk-ejector
It's a free program, which seems to work on Vista (I tested on Vista Business) and XP.

The ejection code is based on http://www.codeproject.com/KB/system/RemoveDriveByLetter.aspx and from the first look it does slightly differ from what ml_ipod uses.

Unfortunately I didn't have the time to try and implement it, but maybe it's worth a shot.

EDIT: and DevEject doesn't work on my vista either.

Last edited by abu; 4th February 2008 at 15:34.
mk01 is offline   Reply With Quote
Old 2nd February 2008, 13:03   #26
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
Quote:
Originally posted by abu And what shall I tell you about the other method, if you can't read the code? It's the way that is explained on MSDN, all the DeviceIoControl calls, the most important one being FSCTL_DISMOUNT_VOLUME and IOCTL_STORAGE_EJECT_MEDIA.
You could have just tell me that you were using Windows API's as per the MSDN documentation
Nazgulled is offline   Reply With Quote
Old 4th February 2008, 13:45   #27
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
I just tried the USB Disk Ejector tha mk01 posted and it'w working fine on Vista. I just have to do "USB_Disk_Eject.exe /REMOVELETTER G" and that's it... The iPod is silently removed...

Is there way I use this utility instead on the current version (3.03)? Or I must wait for you to adapt it into th next version for it to work properly, Apu?
Nazgulled is offline   Reply With Quote
Old 4th February 2008, 18:02   #28
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Version 3.03p03 - 02/04/2008 (Abu)
* new: special eject tools, set useDevEject in winamp.ini to
1 - use deveject.exe http://www.withopf.com/tools/deveject/deveject-11.zip
2 - use RemoveDrive.exe http://www.uwe-sieber.de/files/removedrive.zip
3 - use USB_Disk_Eject.exe http://quick.mixnmojo.com/quick-and-...b-disk-ejector
4 - use eject.cmd
needs testing which one works on Vista and XP

I'd recommend testing removedrive first, much smaller utility.

It's all pretty inconsistent, on my XP box the classic never stops charging no matter which tool I use to eject, and the nano 2G always stops charging (even with the tray icon safely remove HW)...

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE

Last edited by abu; 4th February 2008 at 18:43.
abu is offline   Reply With Quote
Old 4th February 2008, 19:50   #29
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
Just updated ml_ipod to p03 and I'm using RemoveDrive on my Vista machine and it seems to be working so far...
Nazgulled is offline   Reply With Quote
Old 4th February 2008, 19:58   #30
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Cool

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 7th February 2008, 17:05   #31
Nazgulled
Senior Member
 
Join Date: Jan 2008
Posts: 120
Just in case it helps any other people and I think you should know it also:

1) While using RemoveDrive to eject the iPod, Winamp crashes after a successfully ejecting using this method.
2) Switched to USB_Disk_Eject and the problem doesn't happen anymore. The iPod is successfully ejected and Winam doesn't crash.
Nazgulled is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp iPod Plugin Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump