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 114758 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: foo_onewaysync

Reply #150
I'm using it with a Moto G (3rd Gen) and it seems to be working quite well. I've only got a minor issue: if I remove a song from my playlist on the PC and synchronize, the track is indeed removed from the playlist on my phone. However, it doesn't delete the actual file from the device even though 'Delete unreferenced files from destination' is checked in the settings.
I've got exact the same problem with latest version 0.5.10c. Bug is back again?

Re: foo_onewaysync

Reply #151
... and the file extension has always been preserved, so why should I add it now specifically for your component ?
I didn't imply that I was lazy or anything. I just asked a mere question : "why should I add it now ?". I asked it because I like to understand. I wanted to understand why when I pass the same string to foobar, it just works. I wanted to know if there was a special reason why your component couldn't just act in the same way that foobar seems to do.
Your response sounded arrogant and your intention did not come across. Also, you did not state why the solution suggested initially is not viable for you.
In short: It can't be done exactly as foobar does it, because foo_fileops is not part of the foobar API. Even if it was, it would not be able to copy to MTP devices.
As I explained before, the reason is your titleformatting string, though not its magnificent length, but its content. Since the component does a lot of special string handling to be able to use the MTP library, I try to avoid changes in that area, at least before I polish the codebase.
While I develop this in my free time and for my own use I'm happy to share it with you guys. However, this requires a certain quality standard. By now, I've added more features than I anticipated initially, which makes maintaining that standard difficult without quite some additional effort and infrastructure.

... and that he would dare call "lazy" somebody who was able to do a titleformatting script (dozens actually) bigger than those of 99% of foobar users. So big in fact, that I've had several foobar components modified by their developers, because the length of my scripts made them crash.
Well done! Feeling better now?

And thanks for nothing.
In this thread, I answered every reported issue, try to offer practical solutions and fix things where necessary. In fact, this all comes free of charge, so actually your not entitled to anything.

Re: foo_onewaysync

Reply #152
I'm using it with a Moto G (3rd Gen) and it seems to be working quite well. I've only got a minor issue: if I remove a song from my playlist on the PC and synchronize, the track is indeed removed from the playlist on my phone. However, it doesn't delete the actual file from the device even though 'Delete unreferenced files from destination' is checked in the settings.
I've got exact the same problem with latest version 0.5.10c. Bug is back again?
Works as intended for me. Remember that files, which were copied to the device with a version from before this was fixed, can still not be deleted automatically.

Re: foo_onewaysync

Reply #153
Tried installing it but Foobar hangs at start. I cannot access the console.
Installing other components works.
Version is 1.3.14


List of installed components
Spoiler (click to show/hide)

Re: foo_onewaysync

Reply #154
Try with a clean foobar install. If that works there is probably an incompatibility with another component. Try adding them one after another to identify the incompatible one.

Re: foo_onewaysync

Reply #155
I removed the component files, installed foo_onewaysync, moved back the other files and now it seem to work for some weird reason.

Anyway thanks a lot, this finally allows me to use my foobar2000 with my Nokia Lumia Phone!

Re: foo_onewaysync

Reply #156
Works as intended for me. Remember that files, which were copied to the device with a version from before this was fixed, can still not be deleted automatically.
A full resync did help. Thanks

Re: foo_onewaysync

Reply #157
@zimjo : thanks. I didn't mean to sound arrogant initially. I was hoping for a technical explanation like the one you finally gave about foobar API and MTP devices, which makes sense. So yes, thank you for that.

Nobody here is entitled to anything regarding your component (we're not entitled to additional features, etc.). Everybody understands that. My point was merely about asking a question and expecting an answer that would make sense. That's all.

Also, I never said that the suggested solution wouldn't be viable. It probably is, haven't tried it yet. I just wanted to understand why there wouldn't be another one, in technical terms. I'm glad we sorted this out. :)

Re: foo_onewaysync

Reply #158
It seems that when editing titleformatting script in Tasks->Titleformatting scripts, changes aren't saved. So the only way to "edit" script is actually to remove it and create new one . Is it by design? foo_onewaysync 0.5.10c, foobar2000 1.3.14

Re: foo_onewaysync

Reply #159
For me the changes are displayed in the list of titleformatting scripts and the modified script appears in the dropdown list of scripts that can be assigned to a task. What might have gotten you confused is that the titleformatting script of a task is not automaticcaly modified. You want to explicitly assign the modified script to a task.

Re: foo_onewaysync

Reply #160
# SUGGEST

* Encoder
  + Define defaults for encoder settings
    - ofcourse we only want the basics for lowest size possible for portable devices
    - reason being, I don't know how to set this up and all my files are really large .flacs



Re: foo_onewaysync

Reply #161
There is already a default entry after first installation of onewaysync. You can make it reappear by removing all encoders from the list, then restart foobar.
For the lame encoder you can find reasonable settings in the HA wiki. Searching the forum you will find information for other encoders as well.

Re: foo_onewaysync

Reply #162
There is already a default entry after first installation of onewaysync. You can make it reappear by removing all encoders from the list, then restart foobar.

I see. It's really cut-dry then.

Re: foo_onewaysync

Reply #163
# [SUGGEST] Being able to choose profiles to export w/ using hotkeys

I use OWS to export tracks using hotkeys. I've managed to define a hotkey and kept using "Last Used" to export a selection of tracks or even the track now-playing for quite a while. Now, this method isn't working for me anymore, because I export to various destinations - a local-directory being one & my phone being another.

So to export to different destinations you have to define it under "OWS -> Devices". Since we're talking about hotkeys here I can't actually export like how I intend to because apparently a "Sync Tasks" has to be defined and. The problem w/ OWS's Tasks is that they're only specific to an entire playlist as a whole

## - PROBLEM

* Unable to export "Profiles" using hotkeys labeled as [Context]
  + Because context-menu in Foobar2000 is the only way to export the following options w/ OWS profiles:
    - track-selection(s)
    - track-nowplaying




## - SOLUTION

* none-so-far

___

#### > NOTE

* OWS's "Tasks" are only specific to playlists as a whole
  + This is why you can't use profiles to export the way I intend to
* What does [Context] have anything to do with exporting files?
  + Foobar2000's Context is otherwise known as right-clicking tracks and choosing options
    - so then profile hotkeys can't be set to export to destinations you've defined

Re: foo_onewaysync

Reply #164
Hi!

Really cool to develop such a useful component. However, so far I'm no able to use it.
Version:
0.5.10c
Log:
foo_ows: Error: Error: Could not copy file to WPD device, problem reading the source file. Filename: H:\Musik\S\Sega Bodega\Kii\01 - Sega Bodega feat. Arm Watches Fingers - Kii.mp3
foo_ows: Done with command 'Best'.

The item plays normally in foobar, I also tested other playlists.

Re: foo_onewaysync

Reply #165
Are path and filename correct?
Another user posted a similar problem, there it turned out that the file was on the network and the file could not be copied using the windows command console either. So, can you try the following command in cmd.exe and report the result:
Code: [Select]
copy "H:\Musik\S\Sega Bodega\Kii\01 - Sega Bodega feat. Arm Watches Fingers - Kii.mp3" %userprofile%


Re: foo_onewaysync

Reply #166
## - PROBLEM

* Unable to export "Profiles" using hotkeys labeled as [Context]
  + Because context-menu in Foobar2000 is the only way to export the following options w/ OWS profiles:
    - track-selection(s)
    - track-nowplaying
You could create a shortcut that calls a script which first adds selected items to a specific playlist, then calls a specific OWS command that is set up for that playlist and the desired device. With foo_run and the available foobar commandline commands I believe this to be possible.

Re: foo_onewaysync

Reply #167
Are path and filename correct?
Another user posted a similar problem, there it turned out that the file was on the network and the file could not be copied using the windows command console either. So, can you try the following command in cmd.exe and report the result:
Code: [Select]
copy "H:\Musik\S\Sega Bodega\Kii\01 - Sega Bodega feat. Arm Watches Fingers - Kii.mp3" %userprofile%



Thanks for your quick reply. It's an external drive, formatted as NTFS.
This is the cmd result
C:\WINDOWS\system32>copy "H:\Musik\S\Sega Bodega\Kii\01 - Sega Bodega feat. Arm Watches Fingers - Kii.mp3" %userprofile%
        1 file(s) copied.

Re: foo_onewaysync

Reply #168
In OWS settings check the "Print additional debug info to console" and post the console output.

Re: foo_onewaysync

Reply #169
foo_ows: Attempting to copy file wpd:\Moto G (4)\SD-Karte von SanDisk\.ows_Best.sqlite to C:\Users\xxxx\AppData\Local\Temp\OWS46E5.tmp.sqlite
foo_ows: Done with command 'Best'.
foo_ows: Attempting to copy file wpd:\Moto G (4)\SD-Karte von SanDisk\.ows_Best.sqlite to C:\Users\xxxx\AppData\Local\Temp\OWS9A75.tmp.sqlite
foo_ows: Reading from db.
foo_ows: Reading from db.
Deleting temporary files.
foo_ows: Syncing 'Best(Rating)' to  wpd:\Moto G (4)\SD-Karte von SanDisk\Best\%artist% - %title%.$ext(%_path%)
foo_ows: Attempting to copy file H:\Musik\S\Sega Bodega\Kii\01 - Sega Bodega feat. Arm Watches Fingers - Kii.mp3 to wpd:\Moto G
foo_ows: Error: Error: Could not copy file to WPD device, problem reading the source file. Filename: H:\Musik\S\Sega Bodega\Kii\01 - Sega Bodega feat. Arm Watches Fingers - Kii.mp3
Deleting temporary files.
foo_ows: Done with command 'Best'.

Re: foo_onewaysync

Reply #170
foo_ows: Attempting to copy file wpd:\Moto G (4)\SD-Karte von SanDisk\.ows_Best.sqlite to C:\Users\xxxx\AppData\Local\Temp\OWS46E5.tmp.sqlite
foo_ows: Done with command 'Best'.
foo_ows: Attempting to copy file wpd:\Moto G (4)\SD-Karte von SanDisk\.ows_Best.sqlite to C:\Users\xxxx\AppData\Local\Temp\OWS9A75.tmp.sqlite
foo_ows: Reading from db.
foo_ows: Reading from db.
Deleting temporary files.
foo_ows: Syncing 'Best(Rating)' to  wpd:\Moto G (4)\SD-Karte von SanDisk\Best\%artist% - %title%.$ext(%_path%)
foo_ows: Attempting to copy file H:\Musik\S\Sega Bodega\Kii\01 - Sega Bodega feat. Arm Watches Fingers - Kii.mp3 to wpd:\Moto G
foo_ows: Error: Error: Could not copy file to WPD device, problem reading the source file. Filename: H:\Musik\S\Sega Bodega\Kii\01 - Sega Bodega feat. Arm Watches Fingers - Kii.mp3
Deleting temporary files.
foo_ows: Done with command 'Best'.

Not too sure about this, but can you make sure your phone remains unlocked and have screen stay on for re-assurance.

Re: foo_onewaysync

Reply #171
@Safranente: Your problem should be fixed with a new version. I have it ready for release, but right now the upload to the components page is not working...

Re: foo_onewaysync

Reply #172
The upload is truncated. Are you sure that it's supposed to be:

1) Version "0."
2) The download is 1.8MB and truncated.
3) The archive says the DLL is supposed to be over 4MB, is this correct?

Re: foo_onewaysync

Reply #173
1) That is intentional. Hoping that the automatic update will not kick in, also for users to notice something is off... ;)
2) The size is correct.
3) Also correct.

I'm frequently having issues when uploading components. Before, I blamed my ISP, but now it seems there might be an issue with the server for the following reason: Tried uploading to the component page since yesterday, last time tried just now. The uploads end up having random bitflips compared to the original. Downloads, however, are always binary identical (in this case broken though). Uploading using mobile internet connection gave same result. Uploading to the forum worked right away, see first post.

Re: foo_onewaysync

Reply #174
That's quite amazing, especially since the server also signs every upload internally, so that it can validate the resulting downloads with the automatic update feature. Have you tried using a different web browser? Maybe faulty firewall or antivirus? There's also https for the foobar2000.org server's base subdomain, so you could try that as well to eliminate any firewall or other activity that affects cleartext traffic.