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
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Trying to Be Self Sufficient... Adventures in Playlist Use
« previous next »
  • Print
Pages: [1]

Author Topic: Trying to Be Self Sufficient... Adventures in Playlist Use  (Read 1928 times)

Offline MattParrott

  • Member
  • *
  • Posts: 6
Trying to Be Self Sufficient... Adventures in Playlist Use
« on: July 09, 2013, 03:56:50 PM »
I've been reading, downloading and attempting for 8 hours, and I'm finally asking for help...

What I'm trying to accomplish:
- Use iTunes to manage my audio files and playlists on my Windows 7 desktop
- Use Rockbox on my iPod 5.5 gen

Issues I know About:
- iTunes is not a preferred interface for any of the developers here
- Developers here are volunteers working on projects that interest them
- The current build that can be installed via the Rockbox Utility does not, and likely will not, include the solutions I note below
- New people, like me, are annoying
- I'm counting on help

Here are the changes I believe will work to accomplish the above:
- extm3u_lang_fixed-090112.patch (FS#7652)
- Victor Cardenas' iPod/iTunes to RockBox Playlist Converter

Here are the resources I've attempted to use:
- http://vcardenasblog.blogspot.com/2007/12/ipod-to-rockbox-playlist-converter.html
- http://www.rockbox.org/tracker/task/7652
- http://www.rockbox.org/wiki/DevelopmentGuide
- http://www.rockbox.org/wiki/UsingGit
- http://git.rockbox.org/?p=rockbox.git;a=summary
- http://www.celinio.net/techblog/?p=818
- http://classic.scottr.org/presentations/git-in-5-minutes/

What I have "working":
- iTunes on my Desktop
- iPod 5.5 gen standard firmware
- Alternatively it runs the current version of Rockbox firmware
- Victor Cardenas' iPod/iTunes to RockBox Playlist Converter
- Cygwin Terminal with Git (C:\cygwin)
- have done
Code: [Select]
git clone http://gerrit.rockbox.org/p/rockbox (C:\cygwin\home\MParrott\rockbox)

- have done
Code: [Select]
git config --global user.name "My Name"
- have done
Code: [Select]
git config --global user.email my@email.com
- have done
Code: [Select]
git add extm3u_lang_fixed-090112.patch

Here's where I'm failing to get this done:
- What changes should I be making? Seems like I'm in the wrong place, doing the wrong thing... I don't want to change the patch, I want to incorporate it so my playlist items won't be the 4 character nonsense... Urg!
- I'm thinking I may need to add both the patch and file.c?

So, here's where I'm at:
Code: [Select]
MParrott@MParrott-PC ~
$ git add extm3u_lang_fixed-090112.patch

MParrott@MParrott-PC ~
$ git add rockbox/firmware/common/file.c

MParrott@MParrott-PC ~
$ git commit

but then it's not responding to key strokes where I'm trying to enter the message...
« Last Edit: July 09, 2013, 04:31:15 PM by MattParrott »
Logged

Offline MattParrott

  • Member
  • *
  • Posts: 6
Re: Trying to Be Self Sufficient... Adventures in Playlist Use
« Reply #1 on: July 09, 2013, 04:41:17 PM »
It will let me type sporadically in this box, but it seems like purgatory. No way out but to kill the session...

« Last Edit: July 09, 2013, 04:44:49 PM by MattParrott »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Trying to Be Self Sufficient... Adventures in Playlist Use
« Reply #2 on: July 09, 2013, 05:03:40 PM »
Quote from: MattParrott on July 09, 2013, 03:56:50 PM
Here are the changes I believe will work to accomplish the above:
- extm3u_lang_fixed-090112.patch (FS#7652)

That patch is ancient.  The odds that it works with rockbox are almost zero.

Quote from: MattParrott on July 09, 2013, 03:56:50 PM
Cygwin Terminal with Git

We really don't recommend this since cygwin is difficult to work with.  Unless you're experienced with it I would not do this.

Quote from: MattParrott on July 09, 2013, 03:56:50 PM
git add extm3u_lang_fixed-090112.patch

That adds your patch (the actual text file) to git, so that changes to the text file will be tracked.  Since you're not doing rockbox development, you would have no reason to actually use git for version control.  If you want to apply the patch you need the very first line of this:

http://www.rockbox.org/wiki/UsingGit#Applying_a_patch_from_someone_else

Just ignore the git stuff since you aren't using it.  But the odds of that working are slim, you'll probably have to edit the patch yourself since the code will have changed over the years.



Logged

Offline MattParrott

  • Member
  • *
  • Posts: 6
Re: Trying to Be Self Sufficient... Adventures in Playlist Use
« Reply #3 on: July 09, 2013, 05:11:50 PM »
Thank you very much....

This leaves me in a bit of a quandary... I DO NOT like the ipod firmware, I DO like the Rockbox firmware, I recognize that the mantra around here is "If you want something, create it."

Where does this leave me? Is there anything I can use as a step by step to get what I want or any resource that will enable me to do it myself? I'm really trying here. I have no intention of demanding that it get done for me. I've seen where that leads. I'm just lost...
Logged

Offline MattParrott

  • Member
  • *
  • Posts: 6
Re: Trying to Be Self Sufficient... Adventures in Playlist Use
« Reply #4 on: July 09, 2013, 05:19:10 PM »
OK, so I need to use this:

Applying a patch from someone else

patch -p0 < /path/to/lang.patch

Verify that the patch is correct, then mark the file for commit:

git add apps/lang/modified.file.lang

git commit -s --author="John Doe <foo.bar@example.org>"

The --author will change the author of the patch. The -s will add a "Signed-off-by: Your Self <your.self@example.net>" line to the commit log.

Check that it went well with:

git show


this is how my attempt looks :(

Code: [Select]
MParrott@MParrott-PC ~
$ patch -p0 < extm3u_lang_fixed-090112.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: apps/playlist.c
|===================================================================
|--- apps/playlist.c    (revision 17588)
|+++ apps/playlist.c    (working copy)
--------------------------
File to patch:
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Trying to Be Self Sufficient... Adventures in Playlist Use
« Reply #5 on: July 09, 2013, 05:25:08 PM »
Quote from: MattParrott on July 09, 2013, 05:11:50 PM
Where does this leave me? Is there anything I can use as a step by step to get what I want or any resource that will enable me to do it myself? I'm really trying here. I have no intention of demanding that it get done for me. I've seen where that leads. I'm just lost...

I've never tried, but if I wanted to get a playlist out of iTunes I'd probably save it as an M3U and then open it in foobar and rename the files to something more sensible while copying them over to the ipod.

Logged

Offline MattParrott

  • Member
  • *
  • Posts: 6
Re: Trying to Be Self Sufficient... Adventures in Playlist Use
« Reply #6 on: July 09, 2013, 05:27:16 PM »
I know, I know... But I have dozens of playlists, containing thousands of songs. I want to use iTunes. I know that's what you would do.... I'm trying to do what you suggested earlier, and have hit a wall... I'm guessing this is due to the fact that the patch has not been updated:

Code: [Select]
MParrott@MParrott-PC ~
$ patch -p0 <extm3u_lang_fixed-090112.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: apps/playlist.c
|===================================================================
|--- apps/playlist.c    (revision 17588)
|+++ apps/playlist.c    (working copy)
--------------------------
File to patch: rockbox/apps/playlist.c
patching file rockbox/apps/playlist.c
Hunk #1 succeeded at 302 (offset -9 lines).
Hunk #2 succeeded at 344 (offset -9 lines).
Hunk #3 succeeded at 553 (offset 6 lines).
Hunk #4 succeeded at 1461 with fuzz 2 (offset -17 lines).
Hunk #5 succeeded at 3563 (offset 109 lines).
can't find file to patch at input line 154
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: apps/playlist.h
|===================================================================
|--- apps/playlist.h    (revision 14569)
|+++ apps/playlist.h    (working copy)
--------------------------
File to patch: rockbox/apps/playlist.h
patching file rockbox/apps/playlist.h
Hunk #1 succeeded at 77 (offset 6 lines).
Hunk #2 succeeded at 123 (offset 13 lines).
can't find file to patch at input line 178
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: apps/playlist_viewer.c
|===================================================================
|--- apps/playlist_viewer.c     (revision 17588)
|+++ apps/playlist_viewer.c     (working copy)
--------------------------
File to patch: rockbox/apps/playlist_viewer.c
patching file rockbox/apps/playlist_viewer.c
Hunk #1 succeeded at 64 (offset -1 lines).
Hunk #2 succeeded at 116 (offset 2 lines).
Hunk #3 succeeded at 125 (offset 2 lines).
Hunk #4 FAILED at 152.
Hunk #5 succeeded at 210 (offset 9 lines).
Hunk #6 succeeded at 225 (offset 9 lines).
Hunk #7 succeeded at 419 (offset 35 lines).
Hunk #8 succeeded at 462 (offset 35 lines).
Hunk #9 succeeded at 474 (offset 35 lines).
Hunk #10 succeeded at 642 with fuzz 2 (offset 35 lines).
Hunk #11 FAILED at 781.
Hunk #12 succeeded at 979 with fuzz 2 (offset 184 lines).
Hunk #13 FAILED at 820.
Hunk #14 succeeded at 992 (offset 93 lines).
3 out of 14 hunks FAILED -- saving rejects to file rockbox/apps/playlist_viewer.c.rej
can't find file to patch at input line 424
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: apps/settings_list.c
|===================================================================
|--- apps/settings_list.c       (revision 17588)
|+++ apps/settings_list.c       (working copy)
--------------------------
File to patch: rockbox/apps/playlist_viewer.c
patching file rockbox/apps/playlist_viewer.c
Hunk #1 FAILED at 704.
1 out of 1 hunk FAILED -- saving rejects to file rockbox/apps/playlist_viewer.c.rej
can't find file to patch at input line 443
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: apps/lang/english.lang
|===================================================================
|--- apps/lang/english.lang     (revision 16290)
|+++ apps/lang/english.lang     (working copy)
--------------------------
File to patch: rockbox/apps/settings_list.c
patching file rockbox/apps/settings_list.c
Hunk #1 FAILED at 11513.
1 out of 1 hunk FAILED -- saving rejects to file rockbox/apps/settings_list.c.rej

MParrott@MParrott-PC ~
$
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Trying to Be Self Sufficient... Adventures in Playlist Use
« Reply #7 on: July 09, 2013, 05:31:00 PM »
Yes, like I said before, that patch isn't going to work. 
Logged

Offline MattParrott

  • Member
  • *
  • Posts: 6
Re: Trying to Be Self Sufficient... Adventures in Playlist Use
« Reply #8 on: July 09, 2013, 05:33:34 PM »
Thank you for trying to help me. Sounds like I need a few years of development training to use Rockbox if I want to use iTunes to manage my media... This is a reality that has not changed despite multiple threads on this issue. If only the patch was updated.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Trying to Be Self Sufficient... Adventures in Playlist Use
 

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

Page created in 0.073 seconds with 15 queries.