Anzeige
MPeX.net Suche
Home Page : Forum

FORUM
 FAQFAQ   SuchenSuchen   MitgliederlisteMitgliederliste   BenutzergruppenBenutzergruppen   Registierung deaktiviert!Registierung deaktiviert! 
ProfilProfil   Einloggen, um private Nachrichten zu lesenEinloggen, um private Nachrichten zu lesen   LoginLogin 
   17.09. Vision Pearl: neues Mercedes-Benz M...
   22.08. Bluetooth MultiSpeaker 4in1 von Tre...
   22.08. BVMI: Der Umsatz mit Musikdownloads...
   22.08. Outdoor MP3-Player von Memup
   22.08. phonostar: Die erfolgreichsten Inte...
ACHTUNG: Das Board ist seit dem 06.11.2019 für neue Beiträge geschlossen.
Danke an alle, die hier über die Jahre zu regen Diskussionen beigetragen haben! mpx.net


[1by1] relative paths for a portable mode / flashdrive playing?

 
Dieses Thema ist gesperrt, du kannst keine Beiträge editieren oder beantworten.   Dieses Forum ist gesperrt, du kannst keine Beiträge editieren, schreiben oder beantworten.    Foren-Übersicht | Forum-Hauptseite -> mp3DirectCut / 1by1
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
petrus
Postet hier einiges


BeitragVerfasst am: 03.01.2011 - 19:31    Titel: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

I'd really like to see relative paths and a don't write anything to the config file option
or just optional 0 (don't set) values for things like last_file=, window_x, y...
thus enabling us to play files without writing anything back to the ini.

As you know removable disks don't have fixed drive paths, so setting the home dir
to home_folder=h:\myfiles\music or whatever won't do but home_folder=\myfiles\music would. Thanks.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
mpesch3
MPeX.net Guru


BeitragVerfasst am: 04.01.2011 - 23:08    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

You could try to set the write protection flag on the 1by1.ini file on your flash drive.
Before this you should delete these lines:
last_file=
last_folder=
and set the Start in base folder option in the Control settings.
Does this work?
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
petrus
Postet hier einiges


BeitragVerfasst am: 05.01.2011 - 13:52    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

1. With the ini write protected, a new one is created after exiting the program
in Documents and Settings\user\Application Data\1by1\1by1.ini
even if you just close the program without changing any setting at all.

2. Having "Start in Base Folder" enabled makes the "1by1 Base Folder" appear and selected but it's empty.


Zuletzt bearbeitet von petrus am 05.01.2011 - 16:47, insgesamt einmal bearbeitet
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
petrus
Postet hier einiges


BeitragVerfasst am: 05.01.2011 - 14:16    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

The programs root directory should be the default for home_folder=

Maybe even add "My Computer" itself to the "Hide system folders"
so it's possible to limit 1by1 to that home folder (or usb drive in this case).
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
mpesch3
MPeX.net Guru


BeitragVerfasst am: 06.01.2011 - 00:52    Titel: Re: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

petrus hat folgendes geschrieben:
1. With the ini write protected, a new one is created after exiting the program
in Documents and Settings\user\Application Data\1by1\1by1.ini

Yes, thats right, I forgot. If 1by1 is started with the param /localini, no settings in the user profile will be created.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
petrus
Postet hier einiges


BeitragVerfasst am: 06.01.2011 - 14:23    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

Can this /localini also be made into a config option? Something to set
from within the 1by1 settings, as you know Application Data\1by1\1by1.ini
is not created until the program is closed, that would prevent that and not
require starting the program from the command line or batch file.

And how do you like the idea of "Start in base folder" defaulting to
the programs root directory when no base folder is set?
(with home_folder= blank it shows up empty, that's of no use)

You could really pull ahead with relative paths, people ache for a good portable player
it was a blast when the Opera browser implemented them.

About adding "My Computer" to "Hide system folders", was that left out on purpose?
And have you ever thought about multiple, numbered home folders:
in a home_folder_1=, home_folder_2=, home_folder_3= like fashion?
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
mpesch3
MPeX.net Guru


BeitragVerfasst am: 06.01.2011 - 16:09    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

Storing the localini option WITHIN the ini file would produce this problem:
If ApplicationData contains 1by1 settings, they are used BEFORE any local ini - this must be the search order. If a localini setting would be inside an ini, this would make things realy complicated on some positions.

But now my planned solution:
To make 1by1 really portable without the need for batch or links, it will get the option to create an empty tag file in the program directory. If that file exists, 1by1 will be started with the localini option. I'll try to implement this to the next beta version.

If no base folder is found, 1by1 should start in My Documents. But this behaviour could depend on the localini option in the future. On localini 1by1 could use the program folder instead of My Documents.

Allowing to hide My Computer is not wanted, as My Computer contains all drives and the drives contain all directories and 1by1 is a directory player ;)
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
petrus
Postet hier einiges


BeitragVerfasst am: 06.01.2011 - 17:11    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

Yes i'm aware of the irony, but with "My Computer" hidden we could confine 1by1 to the home folder.

A practical example would be restricting access to only the flashdrive
with no wandering of to other drives or directories, no worries.

Make it a config only thing, to set by hand if you have, i guess it would be
trivial to add, with the folder hiding mechanism already in place?
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
mpesch3
MPeX.net Guru


BeitragVerfasst am: 07.01.2011 - 02:38    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

Please try this beta with force portable option and relative path on empty base folder (with start in base folder option).

http://mpesch3.de1.cc/1by1_173b20110106.zip
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
petrus
Postet hier einiges


BeitragVerfasst am: 07.01.2011 - 03:08    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

Alright, it creates 1by1local.ini and expands into the actual program directory.
But the home folder under it remains named "1by1 Base Folder" and is empty when clicked.

Also there are no relative paths: last_folder=E:\beta\1by1_173b20110106
is in fact set, but not used, if changed to last_folder=C:\music it does not work.

Why not just make it default into home using paths: home_folder=/ ?
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
mpesch3
MPeX.net Guru


BeitragVerfasst am: 07.01.2011 - 19:11    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

The default home folder is My Documents which fits in more cases than the program folder, as I belive.

But if check the option "Start in Base folder", the program folder will be used. Isn't it?! The base folder must be empty - it can now be easily cleared in the tree context menu.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
petrus
Postet hier einiges


BeitragVerfasst am: 07.01.2011 - 20:49    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

Yes the program folder is used, with an empty "1by1 Base folder" under it.


But it's confusing to also have "Set as Base Folder" it in the context menu when "start in" is already enabled.

Maybe this should be made into two different options for clarity:
"Start 1by1 in Base folder" and/or "Start 1by1 in Home folder"

Or just set the base folder to: home_folder=/ when in portable mode
this will default to the program directory, why not use relative paths for it?

The following mockup is how i magine this to work out, what do you think?
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
petrus
Postet hier einiges


BeitragVerfasst am: 13.01.2011 - 23:47    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

And the following is what happens when the path is set relative to home_folder=\1by1_173b20110106:



As you can see the directory appears in the tree panel, but the songs don't.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
petrus
Postet hier einiges


BeitragVerfasst am: 21.01.2011 - 04:13    Titel: RE: [1by1] relative paths for a portable mode / flashdrive playing? Antworten mit Zitat

Just noticed that the "home folder" only works when both "start in base folder" AND "force portable" are enabled.
Without "force portable" it starts in "my documents" even with "start in base folder" on.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Beiträge der letzten Zeit anzeigen:   
Dieses Thema ist gesperrt, du kannst keine Beiträge editieren oder beantworten.   Dieses Forum ist gesperrt, du kannst keine Beiträge editieren, schreiben oder beantworten.    Forum-Hauptseite -> mp3DirectCut / 1by1 Alle Zeiten sind GMT + 1 Stunde
Seite 1 von 1

 
Gehe zu:  
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.


Powered by phpBB © 2001, 2005 phpBB Group

Anzeige
Copyright © 2021 MPeX.net GmbH       Impressum       Verzicht       Suche Hosting by mpex