Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
01-17-2013, 04:07 PM #21
The Following User Says Thank You to It's Mi For This Useful Post:
01-17-2013, 04:10 PM #22
01-17-2013, 04:11 PM #23
Ha, I saw that Library/Wallpaper/iPhone/ folder, but it only had stock wallpapers and auros wp's in it, together with tumbnail images.
But I used iTunes-> Photos-> select folder and then used a wallpaper folder (called "640") I have on my PC. After syncing I have all 235 wallpapers on the iPhone/iPod. I can see them in the Photos app under its own section called "640" next to Cameraroll and wallpapers (stock).
That path was the one I used in the script.
OK, that is not a big problem. I can add the Library/Wallpaper/iPhone/ folder to the options and have to see if I can dump the thumbnail with grep somehow.
My first shell script used "sed", but that was not working for some reason.
Well, NewDestiny, don't know what to say. The script (myphotos.sh) is there, it starts to run but fails on the first command, hence the empty jpg.txt file. Now that you have grep installed that potential problem is out off the way, the "ls" command should work, could try "ls" in Mobile Terminal if you have it. But most likely you have "ls" installed, is the Core Utilities package, now a dependency in Slideshow 1.1. So, last reason for the command to fail is that the path does not exist, /var/mobile/Media/DCIM/100APPLE/ where your photos are being stored or that folder is empty.
These are the three reason I can think of why the command might fail.
You could try, if you have Mobile Terminal installed to enter one of the 4 commands from the photos.sh in Mobile Terminal and see what happens.
Hi Mi, do you have a database? Check in /var/mobile/Library/WebKit/Database/file_0, there should be a 000000001.db file or so.
No database no slideshow, even if all txt files exist and are not empty.
Last edited by rasputin007; 01-17-2013 at 04:24 PM.
01-17-2013, 04:24 PM #24
Yes, I have that file. It's called 0000000000000001.db. ?????
Do you have any other ideas?
Maybe it's a special thing from the 3gs?
Your other SWIPE-LS doesn't work for me eigther
Only the wall is showing, no swiping leads to a change ...
So maybe only my stupid old phone
01-17-2013, 04:28 PM #25
btw there are 2 folder in /Library/Wallpaper, one is iPhone and the other one is iPod.
As none of them is filled with my 235 wallpapers, I have dismissed them.
Hmm, I have to dig out that old damaged iPod3, which is very close to the 3GS, and see if it runs on that.
The original Swipe LS runs on the 3GS, have tried it on my son's 3GS, but will not work with LockInfo installed.
LockInfo disables Winterboards swipe feature!
Last edited by rasputin007; 01-17-2013 at 04:34 PM.
01-17-2013, 04:34 PM #26
The Following User Says Thank You to It's Mi For This Useful Post:
01-17-2013, 04:37 PM #27
Don't worry, Mi, problems are there to be solved.
I think the 3GS is the nicest looking iPhone from the design point of view.
Mi, I can make you a LockBackground.html without a database, but every time you want to change you have to edit code, basically change .....jpg.txt.. to ......wp.txt or so.
Last edited by rasputin007; 01-17-2013 at 04:43 PM.
01-17-2013, 04:50 PM #28
01-17-2013, 05:23 PM #29
OK, here it is, LockBackground-no-databse.html
Just rename the original LockBackground.html to Old-LockBackground.html and the LockBackground-no-database.html to LockBackground.html.
I have added 2 little notes inside the code so you can see where to change what.
Set it to the custom.txt, aka /var/mobile/Documents/Slideshow, just delete the example files and put whatever you want in it, then use the "SS Updater" icon to update the custom.txt file and that should work.
I just tried Slideshow on the damaged iPod3 and it works on there as well, but I had to make sure all mentioned path in myphotos.sh were there with content.
For example it did not had any photos on it, therefore the /var/mobile/Media/DCIM/100APPLE folder was not there and all I got was a jpg.txt file that was empty, sounds familiar NewDestiny?
After I created all the folders and put some files in it it worked.
Last edited by rasputin007; 01-17-2013 at 05:28 PM.
01-17-2013, 05:26 PM #30
As soon as I copied a few photos INTO the 100APPLE folder - then your slideshow starts to work!!!!!! And I now have a jpg.txt and png.txt files in /mobile/documents that are populated with the indexes of my pics. YES!!! I, of course, did have to hit the SS Updater one more time after I copied the photos into 100APPLE to get the slideshow to start to work. But's that's as expected. SO - it was that one folder misname that you didn't anticipate. Many of us have folder numbers from 100-110 and even more. The only other odd behavior is that in the slide show - whenever your Slideshow encounters a 'landscape' photo - is shows it for a quick second in landscape and the rapidly moves it to protrait mode. So it's a very jerky effect. But you probably anticipated that..
01-17-2013, 05:27 PM #31
Yeah, I added the "iPad", as I checked my iPad and that is what it uses.
Looks like we got a little project on our hands here. I will offer you what I can bud and test quickly, but not sure how much of the code that I can help you with, as my line command skills are limited.
01-17-2013, 05:33 PM #32
It is a very very basic slideshow, that could be done later, first I have to get the coding framework running as perfect as possible.
If I could use "sed" all this would be no problem at all, but for some particular reason "sed" commands are not running when you call a shell script from the springboard via icon touch. "sed" will work perfect when the shell script is called from php though.
Have to do more "creative" thinking. LOL
Last edited by rasputin007; 01-17-2013 at 05:36 PM.
01-18-2013, 03:48 AM #33
What are the filenames in the 100APPLE, 101APPLE, 102APPLE etc folders are they consecutive (e.g. does 103APPLE filenames carry on where they finished in 102APPLE) or do they start at IMG_0000.JPG again in each folder?
@King What is the wallpaper tumbnail size in the /Library/Wallpaper/iPad folder?
Last edited by rasputin007; 01-18-2013 at 04:31 AM.
The Following User Says Thank You to rasputin007 For This Useful Post:
01-18-2013, 04:10 AM #34
They do carry on with the same pattern as if all were part of the same folder.
01-18-2013, 04:31 AM #35
Thanks Alfroggy, that makes it much easier.
Also need the size of the iPad tumbnail wallpapers.
The idea is to install a iPhone, iPod and iPad folder in the Library/Wallpaper each with just one example png and its tumbnail. That way the shell script will not quit as all three folders are present. Otherwise I have to use lots of if-then statements and the simpler I can keep the shell script the higher the possibility iOS will actually run it.
01-18-2013, 06:20 AM #36
Slideshow 1.2 is on the MMUS repo (apt.mmus.us)
Works fine with me.
Scans all folders that start with iP* in /Library/Wallpaper, so it does not matter if there is only iPod and iPhone or just iPhone or all three iPhone, iPad and iPod. All tumbnail images are NOT included.
For the photos it will scan all folders from 100APPLE to 199APPLE, does not matter if they exist or not or are empty. There is still a split between "real" photos and screenshots.
I still left the /var/mobile/Documents/Slideshow folder with examples so that everybody can make their own slideshow from jpg, png, bmp and gif files, Have not tested other extentions.
Core Utilities and grep are being installed if not already installed.
Hope this works now for you as well.
Let me know.
01-18-2013, 07:02 AM #37
I will get you those sizes in a few bro.
01-18-2013, 07:12 AM #38
Installed and followed the steps to set it up, but I couldn't get it to work, plus all the other WinterBoard themes stopped working altogether, while still checked within WinterBoard. Tried dragging themes around several and doing the respring within WB for cache clearing, but only uninstalling your slideshow theme worked, just by respringing after leaving Cydia.
01-18-2013, 07:26 AM #39
EXCELLENT, Ras! You did it! Works perfect now. All 4 .txt files are in Documents folder and whatever I set it to in Setup plays on my Lockscreen as a slideshow! Thanks for doing a thorough beta with us! So many modders are so 'temperamental' and get offended when you give them feedback. You're a true professional! You should build in an automatic required Respring to the install package download from Cydia too. Don't you think?
The only thing still strange I can only show you with a video. The transition from one photo to the next, in Photos mode, clicks for a split second back to the previous photo. It makes for a very jerky transition. This doesn't happen with Wallpapers, Custom or Screenshots.
I'll upload a video shortly.. YouTube says: "still processing ". What's the fastest way to get a very short little video clip uploaded to the forum here?
Last edited by NewdestinyX; 01-18-2013 at 07:29 AM.Here to help if I can. If I can't I know someone who can!
Tutorial - Upsize a 5/5S widget to 6 or 6+
Tutorial - Simple conversion for WW widget to work with Groovylock+/Groovyboard+
Tutorial - Add a SWITCH in Config,js to work with GroovyLock+ or all other players
Add GL+ switch code to UniAW7 & mods
01-18-2013, 07:32 AM #40
Ras I have had no problems from start followed directions everything worked fine thank you!
However just wondering if animation between pictures is suppose to be the way i am seeing it?
The picture starts in portrait then goes to landscape with heavy distortion then the next picture appears! Is this how you see it!
The Following User Says Thank You to Happy363 For This Useful Post: