Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Rockbox music sync
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Rockbox music sync  (Read 8024 times)

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Rockbox music sync
« Reply #15 on: October 17, 2006, 11:08:26 AM »
Well, I've tested it now on some text files; it's really cool and seems to work well! I'll be testing for real on my H120 later (and yes, I know I'll have change some of the code to iriver-specific alternatives).

Just a couple of comments:

Quote from: w1ll14m on October 16, 2006, 01:00:03 PM
I've made a little Autorun script (wich seems to be malfunctioning)
Like I said, I found no errors. Did you mean that it was just the autorun that was not working? I did not test that as I have a pathological objection to autorun files ;)

The .bat structure seems a little over-complicated. They could be consolidated. At the least, just a single file that the user needs to edit prior to starting, rather than two.

Change the ipod.multi.computer variable default to the 'safe' option, before anyone gets really upset. :)

Again, this may have been a design decision, but I think you used too many variables. Do you really need to set a variable (%sep%) for the folder separator (\)?  ???

Your text about where to find the logfile is incorrect, the logfile ends up in .sync, not .sync\logs as stated.
« Last Edit: October 17, 2006, 11:12:09 AM by bascule »
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline w1ll14m

  • Member
  • *
  • Posts: 18
Re: Rockbox music sync
« Reply #16 on: October 17, 2006, 12:05:17 PM »
All true, about the variables, i like it :)
however, this is still my 'first' version i wrote and it needs a lot of modifications. about the log, that's not edited yet, because of a bug i had :)
I Will spend some work on it tonight :)

if you know some code that would enhance the functionality in any way, you can leave it at this thread.

Quote
Well, I've tested it now on some text files; it's really cool and seems to work well! I'll be testing for real on my H120 later (and yes, I know I'll have change some of the code to iriver-specific alternatives).

Quote
Quote
I've made a little Autorun script (wich seems to be malfunctioning)
Like I said, I found no errors. Did you mean that it was just the autorun that was not working? I did not test that as I have a pathological objection to autorun files Wink

the icon apears to be fine, it won't start the script, this can be somewhere in my windows settings still have to check what it is.

what did you have to change ? maybe i can implement it

Kind regards William
« Last Edit: October 19, 2006, 02:48:57 PM by w1ll14m »
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Rockbox music sync
« Reply #17 on: October 17, 2006, 01:45:49 PM »
I didn't have to change anything to get it to work, but I know I'll need to change the rockbox.ipod reference to rockbox.iriver when I move the package to my player.

And again, I did not in any way use the autorun functionality.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline w1ll14m

  • Member
  • *
  • Posts: 18
Re: Rockbox music sync
« Reply #18 on: October 17, 2006, 02:05:18 PM »
ok, so the changes weren't critical, i will change these variables in v0.2 :)
probably tonight, also an edited userconf.bat

so you don't have to open a different file to edit the paths.
« Last Edit: October 18, 2006, 08:02:25 AM by w1ll14m »
Logged

Offline w1ll14m

  • Member
  • *
  • Posts: 18
Re: Rockbox music sync
« Reply #19 on: October 17, 2006, 07:24:05 PM »
Ok version 0.2 is released
Now it 'should' work on every rockbox player, some small bug fixes and a few enhancements to the main code.

now you have to edit the paths in userconf instead of paths.bat.
I have changed some variables to be 'compatible' with every rockbox player.
i have created a 'debug mode' for the script just run
'synchronize.bat debug' and the debug mode is activated (it's not much for now :))

the download url can be found on the wiki:
http://www.rockbox.org/twiki/bin/view/Main/RockboxSync

Kind regards William
« Last Edit: October 17, 2006, 07:36:11 PM by w1ll14m »
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Rockbox music sync
« Reply #20 on: October 18, 2006, 04:09:56 AM »
William, I have not looked at your latest version, but another thought occurred to me this morning:

Would it be possible to set the %multi.computer% flag on a per-path basis?

I'm thinking that if I have a Music folder and a separate Podcast folder on my PC, that I would want to synchronise the Music folder without /purge, but the Podcast folder with /purge, so that Podcasts I had listened to and deleted from my PC were also removed from the MP3 player.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline w1ll14m

  • Member
  • *
  • Posts: 18
Re: Rockbox music sync
« Reply #21 on: October 18, 2006, 07:54:51 AM »
Quote from: bascule on October 18, 2006, 04:09:56 AM
Would it be possible to set the %multi.computer% flag on a per-path basis?

It's possible and I think it's a nice idea, so i will work on this tonight.
consider it done in version 0.3 :)
Logged

Offline w1ll14m

  • Member
  • *
  • Posts: 18
Re: Rockbox music sync
« Reply #22 on: October 18, 2006, 08:06:52 AM »
I also want to create an update feature for RockboxSync.
so you don't have to download the zip files over and over again,
I will probaply use wget for this :)

maybe it's in version 0.3 maybe later, i will let you know when it's implemented.
Logged

Offline w1ll14m

  • Member
  • *
  • Posts: 18
Re: Rockbox music sync
« Reply #23 on: October 18, 2006, 09:46:31 AM »
Ok, version 0.3 is finished:
Now it has a 'live update' feature.
This will update RockboxSync directly over the internet to the latest version!
The update will backup the userconf.bat to userconfold.txt,
After the update edit userconf.bat to your custom paths!

Now you can define per path if you want to update or purge update files on your rockbox device (read userconf.bat for details)

you can download the latest version at the wiki
http://www.rockbox.org/twiki/bin/view/Main/RockboxSync

Also this version has bugs, be carefuly with editing config's or you will loose music on you rockbox device
« Last Edit: October 18, 2006, 09:51:05 AM by w1ll14m »
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Rockbox music sync
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.067 seconds with 14 queries.