Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_onewaysync (Read 112018 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_onewaysync

Reply #51
In the latest release, the Visual C++ Lib is linked dynamically. This means you might need to install the package that lvqcl linked to.

@dividebyzero: Did this fix your problem?

foo_onewaysync

Reply #52
Yes, tested it now, thank you both!

foo_onewaysync

Reply #53
Have any of you encountered issues that need fixing?
Also, I'm interested to know if anyone had success using this component with a MTP device that does not show in Windows explorer?

foo_onewaysync

Reply #54
Have any of you encountered issues that need fixing?
Also, I'm interested to know if anyone had success using this component with a MTP device that does not show in Windows explorer?

I came across one annoyance that I don't know how to fix, if the Song Title contains illegal Characters like "?" it will be replaced with a "_". But the built in Converter in foobar just removes them so the Component doesn't recognize the files that I already copied to my Phone with the Converter and creates another Copy with a "_". I guess it has something to do with titleformat_text_filter_impl_filename_chars that foosion mentioned a page before. I also don't know why onewaysync replaces "Helden... (Intro)" with "Helden___ (Intro)" even though Windows handles "Helden... (Intro)" just fine as a filename. Other than that I'm very happy and thankful that you developed this component
Edit: Another thing I just remembered is if it would be possible to have the option to select multiple cover art files, so that for example folder.jpg and folder.png would be both synced.

foo_onewaysync

Reply #55
Thanks for your feedback musol. I'll add support for multiple coverfilenames in the next release.
Regarding filenames, foosion's suggestion is implemented, though only for the user defined titleformatting script. I'll make it resemble foobar's naming scheme entirely, if it's compatible with the library used for MTP access.

foo_onewaysync

Reply #56
Alright I've got a few issues on my hand as well.
1st I am not sure what what the field "Show files removed from destination since last sync" is supposed to show me. Right now it only copies my current playlist and opens it in a new tab instead of actually showing me anything missing. And 2nd foobar2k crashes on me when it tries to convert .cue/flac files. So far MTP seems to be working pretty well with my Nexus 7 and Xperia Z2.

foo_onewaysync

Reply #57
I am not sure what what the field "Show files removed from destination since last sync" is supposed to show me.

You use the component to copy files to a target location, e.g. your Nexus 7. Then, you decide to remove some of the songs from your Nexus 7. On the next sync, the component will detect which files were removed from your Nexus 7 (or the target location) and populate a playlist with the corresponding source files.
My typical usage scenario of this feature is the following: While listening to a song on my mobile player, I decide that I no longer want this song in a particular playlist, so I delete the file on my mobile player. After syncing, the song shows up in a specific playlist and I can change its tags (to remove it from autoplaylists) or search for it in all playlists and remove it from where I find it appropriate.

And 2nd foobar2k crashes on me when it tries to convert .cue/flac files.

Please post the dump file here or via pm to me.
So, converting flacs that are not in cue sheets works? Is the cue sheet located at a network path or something like that?

So far MTP seems to be working pretty well with my Nexus 7 and Xperia Z2.

Good to know! 

foo_onewaysync

Reply #58
My typical usage scenario of this feature is the following: While listening to a song on my mobile player, I decide that I no longer want this song in a particular playlist, so I delete the file on my mobile player. After syncing, the song shows up in a specific playlist and I can change its tags (to remove it from autoplaylists) or search for it in all playlists and remove it from where I find it appropriate.

Well that's kinda what I was expecting. Just checked again, it works. I have an idea:
Example:
I sync my playlist and all the files are on my device. Now I listen to my playlist and dislike this one song. I am going to delete it on my device.
Next time I sync, I'd like to know which songs are no longer on the device and ask me if I want to remove them also from my playlist on my computer. Right now it just shows me which songs have been removed since last sync and resyncs these files as well. Or did I miss some check box somewhere?

Please post the dump file here or via pm to me.
So, converting flacs that are not in cue sheets works? Is the cue sheet located at a network path or something like that?

Actually it seems like normal flac-files aren't working as well. It just crashes. Might have not realized that last time.
I am using these encoder options in your settings: "c:\program files (x86)\foobar2000\codec\lame.exe" -b 320

Not sure how to add files: failure_00000003.txt Or do you need the dmp-file?

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 72D5D5E0h
Access violation, operation: read, address: 77C5A5E7h
Last win32 error: 38

Call path not available.

Code bytes (72D5D5E0h):
72D5D5A0h:  C7 2B C1 0F BE 4C 24 13 51 8B FE E8 00 EA FF FF
72D5D5B0h:  8B 16 8B 12 6A FF 8D 44 24 3C 50 8B CE FF D2 FF
72D5D5C0h:  45 0C 8B 5D 0C E9 7F 00 00 00 8B 44 24 14 8B 70
72D5D5D0h:  04 83 C0 04 89 44 24 14 8B C6 8D 58 01 8D 49 00
72D5D5E0h:  8A 08 40 84 C9 75 F9 2B C3 3B F8 76 28 2B F8 74
72D5D5F0h:  24 0F BE DA 8D 54 24 28 8B CB E8 C1 FB FF FF 85
72D5D600h:  C0 74 0F 8B 4D 08 8B 11 8B 12 50 8D 44 24 2C 50
72D5D610h:  FF D2 4F 75 DF 8B 4D 08 8B 01 8B 10 6A FF 56 FF

Stack (0B37F340h):
0B37F320h:  00C00000 0B37F3FC 1010D6B0 FFFFFFFF
0B37F330h:  0B37F3B8 72D5D648 0B37F370 00000001
0B37F340h:  101167B0 0B37F414 079D10C8 0000004A
0B37F350h:  2037F49C 0B37F414 10006BB5 10006D21
0B37F360h:  0000004A 10116B74 10116B48 0B37F380
0B37F370h:  10006C20 0B37F38C 10006BB5 00CCCCCC
0B37F380h:  0B37F398 10006ED7 00000000 00000041
0B37F390h:  0B37F6F0 00000041 0B37F3B0 100066DD
0B37F3A0h:  00000041 00000004 00000039 079BB648
0B37F3B0h:  00000004 0B37F3D4 0B37F3CC 72D59E24
0B37F3C0h:  0B37F3E8 101167FA 0B37F414 0B37F408
0B37F3D0h:  10017933 0B37F3E8 101167B0 0B37F414
0B37F3E0h:  0B37F6F0 0B37F414 101169D4 079BBF68
0B37F3F0h:  0000004A 00000080 00000049 0B37F6F0
0B37F400h:  1010E7AA 00000000 0B37F6FC 10043BD8
0B37F410h:  101167B0 77C5A5E7 0B37FE70 0B37F728
0B37F420h:  CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC
0B37F430h:  CCCCCCCC 01CCCCCC 0B37F408 032A1D40
0B37F440h:  CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC
0B37F450h:  CCCCCCCC CCCCCCCC 0B37F408 CCCCCCCC

Registers:
EAX: 77C5A5E7, EBX: 77C5A5E8, ECX: 0B37F300, EDX: 00000020
ESI: 77C5A5E7, EDI: 00000000, EBP: 0B37F3B8, ESP: 0B37F340

Crash location:
Module: shared
Offset: D5E0h
Symbol: "CreateFileAbortable" (+2A1Bh)

Loaded modules:
foobar2000                      loaded at 00850000h - 00A1F000h
ntdll                            loaded at 779B0000h - 77B2B000h
KERNEL32                        loaded at 753F0000h - 754D0000h
KERNELBASE                      loaded at 74D60000h - 74EDE000h
SHLWAPI                          loaded at 757A0000h - 757E5000h
msvcrt                          loaded at 754D0000h - 7558E000h
combase                          loaded at 751C0000h - 7537D000h
COMCTL32                        loaded at 73520000h - 7372F000h
RPCRT4                          loaded at 75690000h - 7573D000h
WINMM                            loaded at 73880000h - 738A4000h
DSOUND                          loaded at 737F0000h - 73876000h
GDI32                            loaded at 757F0000h - 7593F000h
SspiCli                          loaded at 74600000h - 7461E000h
USER32                          loaded at 74620000h - 74767000h
CRYPTBASE                        loaded at 745F0000h - 745FA000h
bcryptPrimitives                loaded at 74D00000h - 74D58000h
sechost                          loaded at 74FF0000h - 75034000h
ADVAPI32                        loaded at 75E70000h - 75EEB000h
SHELL32                          loaded at 76300000h - 776FF000h
cfgmgr32                        loaded at 75050000h - 75087000h
powrprof                        loaded at 777A0000h - 777E4000h
windows.storage                  loaded at 74800000h - 74CF9000h
kernel.appcore                  loaded at 75940000h - 7594C000h
UxTheme                          loaded at 73760000h - 737D5000h
shcore                          loaded at 77710000h - 7779D000h
WINMMBASE                        loaded at 73730000h - 73753000h
profapi                          loaded at 75380000h - 7538F000h
ole32                            loaded at 759D0000h - 75ABB000h
CRYPT32                          loaded at 75CF0000h - 75E68000h
MSASN1                          loaded at 75C90000h - 75C9E000h
zlib1                            loaded at 62E80000h - 62E9F000h
shared                          loaded at 72D50000h - 72D7D000h
Secur32                          loaded at 73D70000h - 73D7A000h
WINHTTP                          loaded at 74330000h - 743CB000h
gdiplus                          loaded at 72D80000h - 72EEB000h
imagehlp                        loaded at 74FC0000h - 74FDB000h
COMDLG32                        loaded at 75590000h - 75682000h
FirewallAPI                      loaded at 74770000h - 747CE000h
dbghelp                          loaded at 731C0000h - 732FF000h
NETAPI32                        loaded at 759B0000h - 759C3000h
dbgcore                          loaded at 73070000h - 73091000h
DAVHLPR                          loaded at 737E0000h - 737EB000h
IMM32                            loaded at 747D0000h - 747FB000h
fwbase                          loaded at 72D20000h - 72D4C000h
MSCTF                            loaded at 777F0000h - 7790F000h
dwmapi                          loaded at 73050000h - 7306D000h
foo_onewaysync                  loaded at 10000000h - 10163000h
OLEAUT32                        loaded at 75090000h - 75122000h
MSVCP110                        loaded at 72C90000h - 72D15000h
MSVCR110                        loaded at 72770000h - 72846000h
mfc110u                          loaded at 72850000h - 72C8F000h
foo_dsp_std                      loaded at 72720000h - 72762000h
foo_cdda                        loaded at 726C0000h - 72711000h
foo_unpack                      loaded at 72670000h - 726BC000h
foo_converter                    loaded at 725E0000h - 72668000h
foo_ui_std                      loaded at 724D0000h - 725DE000h
MSIMG32                          loaded at 724C0000h - 724C6000h
foo_freedb2                      loaded at 72470000h - 724C0000h
foo_fileops                      loaded at 72420000h - 7246E000h
foo_rgscan                      loaded at 723B0000h - 72411000h
foo_input_std                    loaded at 72250000h - 723AB000h
avutil-fb2k-54                  loaded at 721A0000h - 7222A000h
avcodec-fb2k-56                  loaded at 71FC0000h - 7219E000h
MSACM32                          loaded at 72230000h - 72248000h
foo_httpcontrol                  loaded at 71F40000h - 71FB4000h
WS2_32                          loaded at 75AC0000h - 75B1F000h
MPR                              loaded at 71F20000h - 71F36000h
WSOCK32                          loaded at 71F10000h - 71F18000h
foo_playcount                    loaded at 71ED0000h - 71F0E000h
foo_albumlist                    loaded at 71E70000h - 71ECB000h
foo_audioscrobbler              loaded at 04DE0000h - 04E13000h
foo_dsp_eq                      loaded at 71E30000h - 71E67000h
foo_out_wasapi                  loaded at 04EE0000h - 04F09000h
WindowsCodecs                    loaded at 71CB0000h - 71E23000h
clbcatq                          loaded at 75130000h - 751B4000h
dataexchange                    loaded at 71C60000h - 71CA1000h
d3d11                            loaded at 71990000h - 71BAA000h
dcomp                            loaded at 71BB0000h - 71C57000h
dxgi                            loaded at 71900000h - 71983000h
twinapi.appcore                  loaded at 71830000h - 718FD000h
bcrypt                          loaded at 74550000h - 7456B000h
sud                              loaded at 71790000h - 7182E000h
ADVPACK                          loaded at 71760000h - 7178C000h
PROPSYS                          loaded at 73DD0000h - 73F1B000h
DUI70                            loaded at 715F0000h - 71757000h
SETUPAPI                        loaded at 75EF0000h - 762FB000h
VERSION                          loaded at 745E0000h - 745E8000h
mswsock                          loaded at 742E0000h - 7432F000h
PortableDeviceApi                loaded at 6ED90000h - 6EE13000h
explorerframe                    loaded at 6E950000h - 6ED8A000h
edputil                          loaded at 6E900000h - 6E949000h
DEVOBJ                          loaded at 744F0000h - 74512000h
PortableDeviceTypes              loaded at 6E8D0000h - 6E8F8000h
WINTRUST                        loaded at 75CA0000h - 75CE2000h

Stack dump analysis:
Address: 101167B0h (foo_onewaysync+1167B0h), symbol: "foobar2000_get_interface" (+EEED0h)
Address: 10006BB5h (foo_onewaysync+6BB5h)
Address: 10006D21h (foo_onewaysync+6D21h)
Address: 10116B74h (foo_onewaysync+116B74h), symbol: "foobar2000_get_interface" (+EF294h)
Address: 10116B48h (foo_onewaysync+116B48h), symbol: "foobar2000_get_interface" (+EF268h)
Address: 10006C20h (foo_onewaysync+6C20h)
Address: 10006BB5h (foo_onewaysync+6BB5h)
Address: 10006ED7h (foo_onewaysync+6ED7h)
Address: 100066DDh (foo_onewaysync+66DDh)
Address: 72D59E24h (shared+9E24h), symbol: "uPrintfV" (+11h)
Address: 101167FAh (foo_onewaysync+1167FAh), symbol: "foobar2000_get_interface" (+EEF1Ah)
Address: 10017933h (foo_onewaysync+17933h)
Address: 101167B0h (foo_onewaysync+1167B0h), symbol: "foobar2000_get_interface" (+EEED0h)
Address: 101169D4h (foo_onewaysync+1169D4h), symbol: "foobar2000_get_interface" (+EF0F4h)
Address: 1010E7AAh (foo_onewaysync+10E7AAh), symbol: "foobar2000_get_interface" (+E6ECAh)
Address: 10043BD8h (foo_onewaysync+43BD8h), symbol: "foobar2000_get_interface" (+1C2F8h)
Address: 101167B0h (foo_onewaysync+1167B0h), symbol: "foobar2000_get_interface" (+EEED0h)
Address: 101138E8h (foo_onewaysync+1138E8h), symbol: "foobar2000_get_interface" (+EC008h)
Address: 101138E8h (foo_onewaysync+1138E8h), symbol: "foobar2000_get_interface" (+EC008h)
Address: 10125190h (foo_onewaysync+125190h), symbol: "foobar2000_get_interface" (+FD8B0h)
Address: 101138E8h (foo_onewaysync+1138E8h), symbol: "foobar2000_get_interface" (+EC008h)
Address: 101138E8h (foo_onewaysync+1138E8h), symbol: "foobar2000_get_interface" (+EC008h)
Address: 101169D4h (foo_onewaysync+1169D4h), symbol: "foobar2000_get_interface" (+EF0F4h)
Address: 1010A41Fh (foo_onewaysync+10A41Fh), symbol: "foobar2000_get_interface" (+E2B3Fh)
Address: 10030349h (foo_onewaysync+30349h), symbol: "foobar2000_get_interface" (+8A69h)
Address: 101138E8h (foo_onewaysync+1138E8h), symbol: "foobar2000_get_interface" (+EC008h)
Address: 1004E520h (foo_onewaysync+4E520h), symbol: "foobar2000_get_interface" (+26C40h)
Address: 101138E8h (foo_onewaysync+1138E8h), symbol: "foobar2000_get_interface" (+EC008h)
Address: 101138E8h (foo_onewaysync+1138E8h), symbol: "foobar2000_get_interface" (+EC008h)
Address: 101138E8h (foo_onewaysync+1138E8h), symbol: "foobar2000_get_interface" (+EC008h)
Address: 10125190h (foo_onewaysync+125190h), symbol: "foobar2000_get_interface" (+FD8B0h)
Address: 101138E8h (foo_onewaysync+1138E8h), symbol: "foobar2000_get_interface" (+EC008h)
Address: 101138E8h (foo_onewaysync+1138E8h), symbol: "foobar2000_get_interface" (+EC008h)
Address: 10108BA9h (foo_onewaysync+108BA9h), symbol: "foobar2000_get_interface" (+E12C9h)
Address: 1004DFB8h (foo_onewaysync+4DFB8h), symbol: "foobar2000_get_interface" (+266D8h)
Address: 1004E520h (foo_onewaysync+4E520h), symbol: "foobar2000_get_interface" (+26C40h)
Address: 1004E520h (foo_onewaysync+4E520h), symbol: "foobar2000_get_interface" (+26C40h)
Address: 1010B1C0h (foo_onewaysync+10B1C0h), symbol: "foobar2000_get_interface" (+E38E0h)
Address: 1004E52Bh (foo_onewaysync+4E52Bh), symbol: "foobar2000_get_interface" (+26C4Bh)
Address: 754038F4h (KERNEL32+138F4h), symbol: "BaseThreadInitThunk" (+24h)
Address: 754038D0h (KERNEL32+138D0h), symbol: "BaseThreadInitThunk" (+0h)
Address: 77A156C3h (ntdll+656C3h), symbol: "RtlUnicodeStringToInteger" (+253h)
Address: 74E9F2F0h (KERNELBASE+13F2F0h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 77A2EC80h (ntdll+7EC80h), symbol: "wcstombs" (+90h)
Address: 72CD5FC3h (MSVCP110+45FC3h), symbol: "Xp_subx" (+BF1Dh)
Address: 77A1568Eh (ntdll+6568Eh), symbol: "RtlUnicodeStringToInteger" (+21Eh)
Address: 77A3B6D2h (ntdll+8B6D2h), symbol: "RtlCaptureContext" (+E2h)
Address: 1004E520h (foo_onewaysync+4E520h), symbol: "foobar2000_get_interface" (+26C40h)
Address: 00905A4Dh (foobar2000+B5A4Dh)
Address: 72676F72h (foo_unpack+6F72h)
Address: 10000000h (foo_onewaysync+0h)
Address: 7273722Eh (foo_dsp_std+1722Eh), symbol: "foobar2000_get_interface" (+51EEh)

Environment:
App: foobar2000 v1.3.9
UI: Default User Interface 0.9.5

Components:
Core (2015-11-02 13:34:32 UTC)
    foobar2000 core 1.3.9
foo_albumlist.dll (2015-11-02 13:31:02 UTC)
    Album List 4.5
foo_audioscrobbler.dll (2010-06-04 07:27:04 UTC)
    Audioscrobbler 1.4.7
foo_cdda.dll (2015-11-02 13:30:24 UTC)
    CD Audio Decoder 3.0
foo_converter.dll (2015-11-02 13:30:32 UTC)
    Converter 1.5
foo_dsp_eq.dll (2015-11-02 13:30:52 UTC)
    Equalizer 1.0
foo_dsp_std.dll (2015-11-02 13:30:38 UTC)
    Standard DSP Array 1.3.1
foo_fileops.dll (2015-11-02 13:30:04 UTC)
    File Operations 2.2.1
foo_freedb2.dll (2015-11-02 13:30:14 UTC)
    Online Tagger 0.7
foo_httpcontrol.dll (2013-04-26 16:12:30 UTC)
    HTTP Control 0.97.14-fb2kc
foo_input_std.dll (2015-11-02 13:34:32 UTC)
    Standard Input Array 1.0
foo_onewaysync.dll (2015-12-14 04:19:12 UTC)
    One Way Sync 0.5.4
foo_out_wasapi.dll (2015-07-30 15:12:24 UTC)
    WASAPI output support 3.2.3
foo_playcount.dll (2013-02-01 08:40:46 UTC)
    Playback Statistics 3.0.2
foo_rgscan.dll (2015-11-02 13:31:02 UTC)
    ReplayGain Scanner 2.2.2
foo_ui_std.dll (2015-11-02 13:34:32 UTC)
    Default User Interface 0.9.5
foo_unpack.dll (2015-11-02 13:30:38 UTC)
    ZIP/GZIP/RAR Reader 1.7.1

Recent events:
Pre component load
Loading DLL: C:\Users\xxxx\AppData\Roaming\foobar2000\user-components\foo_onewaysync\foo_onewaysync.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_dsp_std.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_cdda.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_unpack.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_converter.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_ui_std.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_freedb2.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_fileops.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_rgscan.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_input_std.dll
Loading DLL: C:\Users\xxxx\AppData\Roaming\foobar2000\user-components\foo_httpcontrol\foo_httpcontrol.dll
Loading DLL: C:\Users\xxxx\AppData\Roaming\foobar2000\user-components\foo_playcount\foo_playcount.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_albumlist.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_audioscrobbler.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_dsp_eq.dll
Loading DLL: C:\Users\xxxx\AppData\Roaming\foobar2000\user-components\foo_out_wasapi\foo_out_wasapi.dll
Components loaded in: 0:00.342442
Pre config read
Configuration read in: 0:00.024128
Starting playlist loading
Watching: D:\j-Music
Watching: D:\Downloads
Album List refreshed in: 0:01.474585
User Interface initialized in: 0:01.531490
Processing commandline
initquit::init entry
initquit::init exit
Startup time : 0:02.216026
foo_ows: Syncing 'New Playlist' to  wpd:\Xperia Z2\SD-Karte\MusicTest\%artist%\%album%\%title%.$ext(%_path%)


Machine specifications:
OS: Windows 6.3.9600 x64
CPU: Intel® Core™ i7-3770K CPU @ 3.50GHz, features: MMX SSE SSE2 SSE3 SSE4.1 SSE4.2
CPU threads: 8
Audio: YAMAHA RX-V775 (4- NVIDIA High Definition Audio); DELL U2412M-0 (3- NVIDIA High Definition Audio); DELL U2412M-3 (NVIDIA High Definition Audio); Lautsprecher (2- Logitech G930 Headset)

Also your plugin does not seem to work when Windows Mediafeatures such as Windows Media Player are deactivated. I had to reactivate it and reboot my computer to get this working.

foo_onewaysync

Reply #59
Well that's kinda what I was expecting. Just checked again, it works. I have an idea:
Example:
I sync my playlist and all the files are on my device. Now I listen to my playlist and dislike this one song. I am going to delete it on my device.
Next time I sync, I'd like to know which songs are no longer on the device and ask me if I want to remove them also from my playlist on my computer. Right now it just shows me which songs have been removed since last sync and resyncs these files as well. Or did I miss some check box somewhere?

Yes, in principle, it is a good idea. Though, it can not work for autoplaylists. That's why I did not implement it.

Actually it seems like normal flac-files aren't working as well. It just crashes. Might have not realized that last time.
I am using these encoder options in your settings: "c:\program files (x86)\foobar2000\codec\lame.exe" -b 320

Not sure how to add files: failure_00000003.txt Or do you need the dmp-file?

I do need the dump file. See if you can attach a file to a PM, or upload it in this thread. Also, add the option -r to your commandline and to make it work with non 44.1kHz songs add -s %sr%, else those converted songs will have wrong pitch.

Also your plugin does not seem to work when Windows Mediafeatures such as Windows Media Player are deactivated. I had to reactivate it and reboot my computer to get this working.

The MTP feature does require Windows Media Player to work.

foo_onewaysync

Reply #60
Hello zimjo

The component can not be loaded:
Code: [Select]
Failed to load DLL: foo_onewaysync.dll Reason: This component is missing a required dependency, or was made for different version of foobar2000

even with Visual C++ Redistributable for Visual Studio 2012 installed.

My system: foobar2000 1.3.9, Win 10 x64 (Nov update)

foo_onewaysync

Reply #61
Well that's kinda what I was expecting. Just checked again, it works. I have an idea:
Example:
I sync my playlist and all the files are on my device. Now I listen to my playlist and dislike this one song. I am going to delete it on my device.
Next time I sync, I'd like to know which songs are no longer on the device and ask me if I want to remove them also from my playlist on my computer. Right now it just shows me which songs have been removed since last sync and resyncs these files as well. Or did I miss some check box somewhere?

Yes, in principle, it is a good idea. Though, it can not work for autoplaylists. That's why I did not implement it.

Actually it seems like normal flac-files aren't working as well. It just crashes. Might have not realized that last time.
I am using these encoder options in your settings: "c:\program files (x86)\foobar2000\codec\lame.exe" -b 320

Not sure how to add files: failure_00000003.txt Or do you need the dmp-file?

I do need the dump file. See if you can attach a file to a PM, or upload it in this thread. Also, add the option -r to your commandline and to make it work with non 44.1kHz songs add -s %sr%, else those converted songs will have wrong pitch.

Also your plugin does not seem to work when Windows Mediafeatures such as Windows Media Player are deactivated. I had to reactivate it and reboot my computer to get this working.

The MTP feature does require Windows Media Player to work.


Thanks for the encode settings. But I can't seem to find the function in this forum to add files to a post?

foo_onewaysync

Reply #62
The component can not be loaded:
even with Visual C++ Redistributable for Visual Studio 2012 installed.

My system: foobar2000 1.3.9, Win 10 x64 (Nov update)

Wait for the next release, which will not depend on shared libraries.
Since I do not use Win10 I cannot give you any further advice, sorry.

Re: foo_onewaysync

Reply #63
Have any of you encountered issues that need fixing?
Also, I'm interested to know if anyone had success using this component with a MTP device that does not show in Windows explorer?

Component appears to convert but after it completes I get following output in three different boxes with no files/playlist being created. If I don't do any converting it appears to create the directories and playlist and copy the files no problem.

Code: [Select]
Exported files and playlists succesfully.

1 playlists exported.
4 files converted.
0 files updated.

Code: [Select]
Could not load info (Object not found) from:
"C:\Users\Username\AppData\Local\Temp\OWS5B9B.tmp.mp3"
Could not load info (Object not found) from:
...

Code: [Select]
Could not update tags (Object not found) on:
"C:\Users\Username\AppData\Local\Temp\OWS5B9B.tmp.mp3"
Could not update tags (Object not found) on:
...

Playlist I was attempting to convert was a mix of VBR mp3, 320 CBR mp3, and flac files just for testing.

Don't know if this is some setup in the configuration that I'm screwing up but apologies ahead of time if it is. I'm kind of dumb wrt foobar... And things in general.

Re: foo_onewaysync

Reply #64
In the latest release, the Visual C++ Lib is linked dynamically. This means you might need to install the package that lvqcl linked to.

@dividebyzero: Did this fix your problem?
What do I need for a portable install? Thanks

Re: foo_onewaysync

Reply #65
Hi,

I can't use this component at all. It allways says it needs at least wmp 10. I have already installed wmp 12

Re: foo_onewaysync

Reply #66
Component appears to convert but after it completes I get following output in three different boxes with no files/playlist being created. If I don't do any converting it appears to create the directories and playlist and copy the files no problem.

...

Playlist I was attempting to convert was a mix of VBR mp3, 320 CBR mp3, and flac files just for testing.

Don't know if this is some setup in the configuration that I'm screwing up but apologies ahead of time if it is. I'm kind of dumb wrt foobar... And things in general.
This component comes without a converter it requires an additional one, e.g. lame. This looks to me like your converter is not set up properly. Look in the console for the conversion command and post it here, executable and arguments.

Re: foo_onewaysync

Reply #67
In the latest release, the Visual C++ Lib is linked dynamically. This means you might need to install the package that lvqcl linked to.

@dividebyzero: Did this fix your problem?
What do I need for a portable install? Thanks
It should work when the Visual C++ Libs from said package are in the foobar folder or same folder as onewaysync.dll

Re: foo_onewaysync

Reply #68
Hi,

I can't use this component at all. It allways says it needs at least wmp 10. I have already installed wmp 12
Are you trying to use an MTP device? If so, WMP is required and must not be deactivated. If the device is visible in WMP it should be fine, though. Which Windows version are you using?

Re: foo_onewaysync

Reply #69
Hello zimjo

The component can not be loaded:
Code: [Select]
Failed to load DLL: foo_onewaysync.dll Reason: This component is missing a required dependency, or was made for different version of foobar2000
even with Visual C++ Redistributable for Visual Studio 2012 installed.

My system: foobar2000 1.3.9, Win 10 x64 (Nov update)

For me it's the same problem here. 1.3.10 and Win 10x64

@zimjo:
Quote
It should work when the Visual C++ Libs from said package are in the foobar folder or same folder as onewaysync.dll

How do I get those libs or how can I find them?


Re: foo_onewaysync

Reply #70
Is there documentation for this component? I'm not sure I understand how it works.

Re: foo_onewaysync

Reply #71
This component comes without a converter it requires an additional one, e.g. lame. This looks to me like your converter is not set up properly. Look in the console for the conversion command and post it here, executable and arguments.

Yup. I had messed up one of the switches for lame... the same way every time I tried making this work. Thanks for the response. Loving the plugin now.

Re: foo_onewaysync

Reply #72
fails under wine due to missing windows media player

Re: foo_onewaysync

Reply #73
In the latest release, the Visual C++ Lib is linked dynamically. This means you might need to install the package that lvqcl linked to.

@dividebyzero: Did this fix your problem?
What do I need for a portable install? Thanks
It should work when the Visual C++ Libs from said package are in the foobar folder or same folder as onewaysync.dll
What are the actually lib files? It works fine on my desktop but not on the portable install which I'm syncing the desktop files from. I've tried installing the redistributable on my work laptop and it still doesn't work.

Re: foo_onewaysync

Reply #74
How to use this component with ffmpeg as encoder? How to setup the arguments? There seem to be only a replacer for %sr% but not for input and outputfile and the setting for those variables in different to lame:

Code: [Select]
C:\Path_to_lame\lame.exe -b 128 inputfile outputfile

vs
Code: [Select]
C:\Path_to_ffmpeg\ffmpeg.exe -i %filename% -acodec libmp3lame -ab 128k %filename%.mp3

I wish the Encoder part was better documented.
I found no way to (re)-encode m4a or mp3 files, because lame.exe doesn't come with decoders (and flac to mp3 is only possible if a special build is used libsndfile.
It's also not possible to place a bat files in the encoder settings, instead of a exe file, to handle more complex converting case in that.

Maybe I did something wrong though - but please shed some light on how to setup the encoder section with different input files. (It's also not clear what the field "Convert the following lossy file types" expects as input. A space delimited list of file extensions or comma? mp3 m4a mp4 or mp3,m4a,mp4 - if lossy conversion even works (see above).

Thanks for this nice component!
M.